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

Lines Matching refs:opt

43         const optional<X> opt; ((void)opt);
44 ASSERT_SAME_TYPE(decltype(*opt), X const&);
45 // ASSERT_NOT_NOEXCEPT(*opt);
55 constexpr optional<X> opt(X{});
56 static_assert((*opt).test() == 3, "");
59 constexpr optional<Y> opt(Y{});
60 assert((*opt).test() == 2);
64 const optional<X> opt;
65 assert((*opt).test() == 3);