|
Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
|
RAII guard — install a tracer for the lifetime of a scope, then restore the previous tracer (or no tracer) on destruction. More...
#include <inspector.hpp>
Public Member Functions | |
| ScopedTracer (FlushTracer tracer) | |
| ~ScopedTracer () | |
| ScopedTracer (const ScopedTracer &)=delete | |
| ScopedTracer & | operator= (const ScopedTracer &)=delete |
RAII guard — install a tracer for the lifetime of a scope, then restore the previous tracer (or no tracer) on destruction.
Ideal inside tests or short debugging sessions so you cannot forget to unplug the hook.
|
inlineexplicit |
|
inline |
|
delete |
|
delete |