*
* basically: emits a ENTER message on construction and a LEAVE message on destruction.
* And indent these messages acoording to the nesting depth.
+ *
+ * If something goes wrong nothing is thrown from constructor/destructor. Will try to
+ * log only that some problem occurred.
*/
class ScopeTracker
{
public:
- ScopeTracker(const SourceLocation& loc);
- ~ScopeTracker();
+ ScopeTracker(const SourceLocation& loc) throw ();
+ ~ScopeTracker() throw ();
private:
ScopeTracker(const ScopeTracker& rhs);