Searched defs:MoveOnlyInt (Results 1 – 2 of 2) sorted by relevance
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()
220 struct MoveOnlyInt { struct221 MoveOnlyInt(int i) : fInt(i) {} in MoveOnlyInt() argument222 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in MoveOnlyInt() function223 bool operator==(int i) const { return fInt == i; } in operator ==()224 int fInt;