|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Debug<reloco::rc<T>>: rc(use_count: N) { value }, or rc(use_count:
0) { (null) } for an empty pointer – unlike the {} Display output (which just prints the pointee's value, matching every other smart pointer), this reports the live strong-reference count, a genuinely debug-only diagnostic. The pointee is rendered via microfmt::as_debug, so a pointee with its own Debug<T> (e.g. a reflect-dump-generated struct) still recurses correctly.
More...
#include <reloco_debug.hpp>
Static Public Member Functions | |
| static void | format (const rc< T > &val, const sink &out) noexcept |
Debug<reloco::rc<T>>: rc(use_count: N) { value }, or rc(use_count:
0) { (null) } for an empty pointer – unlike the {} Display output (which just prints the pointee's value, matching every other smart pointer), this reports the live strong-reference count, a genuinely debug-only diagnostic. The pointee is rendered via microfmt::as_debug, so a pointee with its own Debug<T> (e.g. a reflect-dump-generated struct) still recurses correctly.
|
inlinestaticnoexcept |