Home | History | Annotate | Download | only in optional.object.ctor

Lines Matching defs:rhs

14 //   optional(const optional<U>& rhs);
26 test(const optional<U>& rhs, bool is_going_to_throw = false)
28 bool rhs_engaged = static_cast<bool>(rhs);
32 optional<T> lhs = rhs;
36 assert(*lhs == *rhs);
44 optional<T> lhs = rhs;
47 assert(*lhs == *rhs);
87 optional<U> rhs;
88 test<T>(rhs);
93 optional<U> rhs(U{3});
94 test<T>(rhs);
99 optional<U> rhs;
100 test<T>(rhs);
105 optional<U> rhs(U{3});
106 test<T>(rhs);
111 optional<U> rhs;
112 test<T>(rhs);
117 optional<U> rhs(U{3});
118 test<T>(rhs);
123 optional<U> rhs;
124 test<T>(rhs);
129 optional<U> rhs(U{3});
130 test<T>(rhs, true);