The key type
| 45 | // The key type |
| 46 | //************************************************************************* |
| 47 | struct Key |
| 48 | { |
| 49 | // Default constructor |
| 50 | constexpr Key() |
| 51 | : k(0) |
| 52 | { |
| 53 | } |
| 54 | |
| 55 | // Construct from char key |
| 56 | constexpr explicit Key(char k_) |
| 57 | : k(k_) |
| 58 | { |
| 59 | } |
| 60 | |
| 61 | char k; |
| 62 | }; |
| 63 | |
| 64 | // Less-than operator for Key < Key |
| 65 | constexpr bool operator<(const Key& lhs, const Key& rhs) noexcept |