|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Formatter for hash_view. More...
#include <hash.hpp>

Public Member Functions | |
| constexpr void | parse (format_parse_context &ctx) noexcept |
| Parses the specifier for the wrapped integer formatter. | |
| void | format (const hash_view< T > &view, const sink &out) const noexcept |
| Computes and renders the hash value. | |
Public Attributes | |
| formatter< std::size_t > | int_fmt_ {} |
| Underlying formatter for the computed hash value. | |
Formatter for hash_view.
Forwards any format specifier to the wrapped std::size_t formatter.
| T | Holds the wrapped integral hash type (kept as the view template parameter). |
|
inlinenoexcept |
Computes and renders the hash value.
| view | The hash view to format. |
| out | Destination sink. |
|
inlineconstexprnoexcept |
Parses the specifier for the wrapped integer formatter.
| ctx | Format parse context exposing the specifier text. |
| formatter<std::size_t> microfmt::formatter< hash_view< T > >::int_fmt_ {} |
Underlying formatter for the computed hash value.