![]() |
ATLAS Offline Software
|
Provides a utility class to format integral types as hexadecimal strings at compile time or with VERY high performance at runtime. More...
#include <string_view>#include <type_traits>Go to the source code of this file.
Classes | |
| struct | CxxUtils::detail::FixedString< N > |
| Helper structure to allow string literals to be passed as non-type template parameters. More... | |
| class | CxxUtils::detail::BasicHexString< FormatStr, Digits > |
| A class that formats an integer as a hexadecimal string embedded within a format string. More... | |
Namespaces | |
| namespace | CxxUtils |
| namespace | CxxUtils::detail |
Typedefs | |
| template<detail::FixedString FormatStr> | |
| using | CxxUtils::HexString = detail::BasicHexString<FormatStr, detail::UpperHexDigits> |
| template<detail::FixedString FormatStr> | |
| using | CxxUtils::hexstring = detail::BasicHexString<FormatStr, detail::LowerHexDigits> |
Variables | |
| constexpr char | CxxUtils::detail::UpperHexDigits [] = "0123456789ABCDEF" |
| constexpr char | CxxUtils::detail::LowerHexDigits [] = "0123456789abcdef" |
Provides a utility class to format integral types as hexadecimal strings at compile time or with VERY high performance at runtime.
It should be prefered over std::format in well-understood hot pathways.
Definition in file HexString.h.