MCPcopy Create free account
hub / github.com/ETLCPP/etl / Key

Class Key

test/test_const_map_constexpr.cpp:54–69  ·  view source on GitHub ↗

The key type

Source from the content-addressed store, hash-verified

52 // The key type
53 //*************************************************************************
54 struct Key
55 {
56 // Default constructor
57 constexpr Key()
58 : k(0)
59 {
60 }
61
62 // Construct from char key
63 constexpr explicit Key(char k_)
64 : k(k_)
65 {
66 }
67
68 char k;
69 };
70
71 // Less-than operator for Key < Key
72 constexpr bool operator<(const Key& lhs, const Key& rhs) noexcept

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.56