Searched refs:in_place_t (Results 1 – 8 of 8) sorted by relevance
/external/libcxx/test/std/experimental/optional/optional.inplace/ |
D | in_place_t.pass.cpp | 21 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/ |
D | in_place_t.pass.cpp | 22 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()
|
D | initializer_list.pass.cpp | 24 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/ |
D | optional_in_place_t.fail.cpp | 21 using std::experimental::in_place_t; in main() 24 optional<in_place_t> opt; in main()
|
D | optional_const_in_place_t.fail.cpp | 21 using std::experimental::in_place_t; in main() 24 optional<const in_place_t> opt; in main()
|
/external/libcxx/include/experimental/ |
D | optional | 25 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/ |
D | value_const.pass.cpp | 21 using std::experimental::in_place_t;
|
D | value_or.pass.cpp | 21 using std::experimental::in_place_t;
|