| 98 | }; |
| 99 | |
| 100 | class ValueSelect { |
| 101 | public: |
| 102 | using value_type = T; |
| 103 | |
| 104 | const value_type& operator()( |
| 105 | const std::pair<Key, T>& key_value) const noexcept { |
| 106 | return key_value.second; |
| 107 | } |
| 108 | |
| 109 | value_type& operator()(std::pair<Key, T>& key_value) noexcept { |
| 110 | return key_value.second; |
| 111 | } |
| 112 | }; |
| 113 | |
| 114 | using ht = |
| 115 | detail_ordered_hash::ordered_hash<std::pair<Key, T>, KeySelect, |
nothing calls this directly
no outgoing calls
no test coverage detected