Searched defs:MoveOnlyInt (Results 1 – 10 of 10) sorted by relevance
22 struct MoveOnlyInt { struct23 MoveOnlyInt() {} in MoveOnlyInt() argument24 explicit MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument27 MoveOnlyInt(MoveOnlyInt&& other) : value(other.value) {} in MoveOnlyInt() argument28 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()33 int value = kDefaultMoveOnlyIntValue;
220 struct MoveOnlyInt { struct221 MoveOnlyInt(int i) : fInt(i) {} in MoveOnlyInt() function222 MoveOnlyInt(MoveOnlyInt&& that) : fInt(that.fInt) {} in MoveOnlyInt() argument223 bool operator==(int i) const { return fInt == i; } in operator ==()224 int fInt;
17 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
25 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
442 const std::pair<MoveOnlyInt, MoveOnlyInt>& e) { in TEST()
20 MoveOnlyInt(MoveOnlyInt&& other) : data_(other.data_) { other.data_ = 0; } in MoveOnlyInt() function
74 struct MoveOnlyInt { struct75 MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument76 MoveOnlyInt(MoveOnlyInt&& other) : value(std::exchange(other.value, 0)) {} in MoveOnlyInt() argument78 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()83 int value = 0;
74 struct MoveOnlyInt { struct75 MoveOnlyInt(int value) : value(value) {} in MoveOnlyInt() argument76 MoveOnlyInt(MoveOnlyInt&& other) : value(std::exchange(other.value, 0)) {} in MoveOnlyInt() function78 MoveOnlyInt& operator=(MoveOnlyInt&& other) { in operator =()83 int value = 0;
354 class MoveOnlyInt { class356 explicit MoveOnlyInt(int value) : value_(value) {} in MoveOnlyInt() function in absl::container_internal::__anond2f3b0900111::MoveOnlyInt