Home
last modified time | relevance | path

Searched refs:in_place_t (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/test/std/experimental/optional/optional.inplace/
Din_place_t.pass.cpp21 using std::experimental::in_place_t;
26 test(const in_place_t&) in test() argument
37 static_assert((std::is_class<in_place_t>::value), ""); in main()
38 static_assert((std::is_empty<in_place_t>::value), ""); in main()
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/
Din_place_t.pass.cpp22 using std::experimental::in_place_t;
74 constexpr test_constexpr_ctor(in_place_t, int i) in main()
102 constexpr test_constexpr_ctor(in_place_t) in main()
115 constexpr test_constexpr_ctor(in_place_t, int i) in main()
128 constexpr test_constexpr_ctor(in_place_t, int i, int j) in main()
Dinitializer_list.pass.cpp24 using std::experimental::in_place_t;
100 constexpr test_constexpr_ctor(in_place_t, std::initializer_list<int> i) in main()
120 constexpr test_constexpr_ctor(in_place_t, std::initializer_list<int> i) in main()
/external/libcxx/test/std/experimental/optional/optional.syn/
Doptional_in_place_t.fail.cpp21 using std::experimental::in_place_t; in main()
24 optional<in_place_t> opt; in main()
Doptional_const_in_place_t.fail.cpp21 using std::experimental::in_place_t; in main()
24 optional<const in_place_t> opt; in main()
/external/libcxx/include/experimental/
Doptional25 struct in_place_t{};
26 constexpr in_place_t in_place{};
94 template <class... Args> constexpr explicit optional(in_place_t, Args&&...);
96 constexpr explicit optional(in_place_t, initializer_list<U>, Args&&...);
176 struct in_place_t {};
177 constexpr in_place_t in_place{};
239 explicit __optional_storage(in_place_t, _Args&&... __args)
290 explicit __optional_storage(in_place_t, _Args&&... __args)
305 static_assert(!is_same<typename remove_cv<value_type>::type, in_place_t>::value,
306 "Instantiation of optional with a in_place_t type is ill-formed.");
[all …]
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.observe/
Dvalue_const.pass.cpp21 using std::experimental::in_place_t;
Dvalue_or.pass.cpp21 using std::experimental::in_place_t;