Helper class to convert a number to hexadecimal format, for use with stream insertion operators. More...
#include <ndn-cxx/util/string-helper.hpp>
Public Member Functions | |
constexpr | AsHex (uint64_t val) noexcept |
Friends | |
std::ostream & | operator<< (std::ostream &os, const AsHex &hex) |
Helper class to convert a number to hexadecimal format, for use with stream insertion operators.
Example usage:
Definition at line 72 of file string-helper.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 76 of file string-helper.hpp.
|
friend |
Definition at line 82 of file string-helper.hpp.