|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Debug<reloco::weak_rc<T>>: like Debug<rc<T>> above, but attempts lock() to read the pointee (the same fallback formatter<weak_rc<T>> already uses): rc(use_count: N) { value } if still alive, or rc(use_count: 0) { (expired) } once the last owning rc has released it.
More...
#include <reloco_debug.hpp>
Static Public Member Functions | |
| static void | format (const weak_rc< T > &val, const sink &out) noexcept |
Debug<reloco::weak_rc<T>>: like Debug<rc<T>> above, but attempts lock() to read the pointee (the same fallback formatter<weak_rc<T>> already uses): rc(use_count: N) { value } if still alive, or rc(use_count: 0) { (expired) } once the last owning rc has released it.
|
inlinestaticnoexcept |