| 18 | }; |
| 19 | |
| 20 | struct Sample { |
| 21 | std::string key; |
| 22 | |
| 23 | Sample() |
| 24 | {} |
| 25 | |
| 26 | Sample(const std::string& a_key) |
| 27 | : key(a_key) |
| 28 | {} |
| 29 | |
| 30 | bool operator==(const Sample& other) const |
| 31 | { |
| 32 | return key == other.key; |
| 33 | } |
| 34 | |
| 35 | bool operator<(const Sample& other) const |
| 36 | { |
| 37 | return key < other.key; |
| 38 | } |
| 39 | }; |
| 40 | |
| 41 | } |
| 42 |