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

Class Key

test/test_const_multiset_ext_constexpr.cpp:50–65  ·  view source on GitHub ↗

The key type

Source from the content-addressed store, hash-verified

48 // The key type
49 //*************************************************************************
50 struct Key
51 {
52 // Default constructor
53 constexpr Key()
54 : k(0)
55 {
56 }
57
58 // Construct from char key
59 constexpr explicit Key(char k_)
60 : k(k_)
61 {
62 }
63
64 char k;
65 };
66
67 // Less-than operator for Key < Key
68 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