Strong typedef for a type T.
Definition in file strong_typedef.hpp.
Go to the source code of this file.
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include <fmt/format.h>
#include <userver/utils/fmt_compat.hpp>
#include <boost/functional/hash_fwd.hpp>
#include <userver/formats/common/meta.hpp>
#include <userver/utils/meta.hpp>
#include <userver/utils/underlying_value.hpp>
#include <userver/utils/void_t.hpp>
Classes | |
class | utils::StrongTypedef< Tag, T, Ops, class > |
Strong typedef for a type T. More... | |
struct | std::hash<::utils::StrongTypedef< Tag, T, Ops > > |
struct | fmt::formatter< T, Char, std::enable_if_t<::utils::IsStrongTypedef< T >{}> > |
Namespaces | |
namespace | logging |
Logging macro and utilities. | |
namespace | utils |
Utilities. | |
Macros | |
#define | UTILS_STRONG_TYPEDEF_REL_OP(OPERATOR) |
Typedefs | |
template<class Tag , class T > | |
using | utils::NonLoggable |
Enumerations | |
enum class | utils::StrongTypedefOps { kNoCompare = 0 , utils::kCompareStrong = 1 , utils::kCompareTransparentOnly = 2 , utils::kCompareTransparent = 3 , utils::kNonLoggable = 4 } |
#define UTILS_STRONG_TYPEDEF_REL_OP | ( | OPERATOR | ) |
Definition at line 265 of file strong_typedef.hpp.