| 22 | #include <set> |
| 23 | |
| 24 | struct TestItem |
| 25 | { |
| 26 | explicit TestItem(uint _value = 0) : value(_value) |
| 27 | { |
| 28 | } |
| 29 | uint value; |
| 30 | int leftChild = -1; |
| 31 | int rightChild = -1; |
| 32 | bool operator==(const TestItem& rhs) const |
| 33 | { |
| 34 | return value == rhs.value; |
| 35 | } |
| 36 | |
| 37 | bool operator<(const TestItem& item) const |
| 38 | { |
| 39 | return value < item.value; |
| 40 | } |
| 41 | }; |
| 42 | |
| 43 | struct TestItemConversion |
| 44 | { |
no outgoing calls