|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Debug<reloco::result<T>> (= Debug<reloco::expected<T, reloco::error>>): Rust's Result debug convention, Ok(value) or Err(error), recursing into the held value/error via microfmt::as_debug so each side always prefers its own Debug<T> over formatter<T>/Display<T> (matching the "`Debug` always
recurses via `Debug`" rule generated struct dumps also follow, see reflect_annotate.hpp).
More...
#include <reloco_debug.hpp>
Static Public Member Functions | |
| static void | format (const expected< T, E > &val, const sink &out) noexcept |
Debug<reloco::result<T>> (= Debug<reloco::expected<T, reloco::error>>): Rust's Result debug convention, Ok(value) or Err(error), recursing into the held value/error via microfmt::as_debug so each side always prefers its own Debug<T> over formatter<T>/Display<T> (matching the "`Debug` always
recurses via `Debug`" rule generated struct dumps also follow, see reflect_annotate.hpp).
|
inlinestaticnoexcept |