Home
last modified time | relevance | path

Searched refs:OracleVal (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/optional/test/
Doptional_test_move.cpp44 struct OracleVal struct
48 OracleVal(int i = 0) : s(sIntConstructed), i(i) {} in OracleVal() argument
55 OracleVal val;
58 Oracle(const OracleVal& v) : s(sValueCopyConstructed), val(v) {} in Oracle()
59 Oracle(OracleVal&& v) : s(sValueMoveConstructed), val(std::move(v)) {v.s = sMovedFrom;} in Oracle()
63 Oracle& operator=(const OracleVal& v) { s = sValueCopyAssigned; val = v; return *this; } in operator =()
64 …Oracle& operator=(OracleVal&& v) { s = sValueMoveAssigned; val = std::move(v); v.s = sMovedFrom; r… in operator =()
75 optional<Oracle> o1 ((OracleVal())); in test_move_ctor_from_U()
79 OracleVal v1; in test_move_ctor_from_U()
138 o1 = OracleVal(); in test_move_assign_from_U()
[all …]
/third_party/boost/libs/outcome/test/
Dexpected-pass.cpp190 struct OracleVal struct
194 constexpr OracleVal(int i_ = 0) // NOLINT in OracleVal() argument
203 OracleVal val;
206 Oracle(const OracleVal &v) // NOLINT in Oracle()
211 Oracle(OracleVal &&v) noexcept : s(sValueMoveConstructed), val(v) { v.s = sMovedFrom; } // NOLINT in Oracle()
219 Oracle &operator=(const OracleVal &v) in operator =()
225 Oracle &operator=(OracleVal &&v) noexcept in operator =()
435 OracleVal v; in expected_from_cnv_value()
496 OracleVal v; in expected_from_in_place_value()
1992 constexpr stde::expected<OracleVal> e = 1;
[all …]