Searched defs:MoveOnlyInt (Results 1 – 2 of 2) sorted by relevance
107 struct MoveOnlyInt { in test_swap() struct108 MoveOnlyInt(int i) : fInt(i) {} in test_swap() function109 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in test_swap() function110 bool operator==(int i) { return fInt == i; } in test_swap()111 int fInt; in test_swap()
213 struct MoveOnlyInt { in test_swap() struct214 MoveOnlyInt(int i) : fInt(i) {} in test_swap() function215 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in test_swap() argument216 bool operator==(int i) { return fInt == i; } in test_swap()217 int fInt; in test_swap()