ATLAS Offline Software
Loading...
Searching...
No Matches
HexString.h File Reference

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 <string>
#include <type_traits>
Include dependency graph for HexString.h:
This graph shows which files directly or indirectly include this file:

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::HexString< FormatStr >
 A class that formats an integer as a hexadecimal string embedded within a format string. More...

Namespaces

namespace  CxxUtils
namespace  CxxUtils::detail

Detailed Description

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.