Lines Matching refs:Opt
24 template <class Opt>
28 static_assert(std::is_nothrow_default_constructible<Opt>::value, "");
29 static_assert(std::is_trivially_destructible<Opt>::value, "");
30 static_assert(std::is_trivially_destructible<typename Opt::value_type>::value, "");
32 constexpr Opt opt;
33 static_assert(static_cast<bool>(opt) == false, "");
36 : public Opt
42 template <class Opt>
46 static_assert(std::is_nothrow_default_constructible<Opt>::value, "");
47 static_assert(!std::is_trivially_destructible<Opt>::value, "");
48 static_assert(!std::is_trivially_destructible<typename Opt::value_type>::value, "");
50 Opt opt;
51 assert(static_cast<bool>(opt) == false);
54 const Opt opt;
55 assert(static_cast<bool>(opt) == false);
59 : public Opt