Home
last modified time | relevance | path

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

/external/libcxx/test/std/experimental/optional/optional.inplace/
Din_place_t.pass.cpp20 using std::experimental::in_place_t;
25 test(const in_place_t&) in test() argument
32 static_assert((std::is_class<in_place_t>::value), ""); in main()
33 static_assert((std::is_empty<in_place_t>::value), ""); in main()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Din_place_t.pass.cpp24 using std::in_place_t;
72 constexpr test_constexpr_ctor(in_place_t, int i) in main()
104 constexpr test_constexpr_ctor(in_place_t) in main()
117 constexpr test_constexpr_ctor(in_place_t, int i) in main()
130 constexpr test_constexpr_ctor(in_place_t, int i, int j) in main()
Dinitializer_list.pass.cpp25 using std::in_place_t;
97 constexpr test_constexpr_ctor(in_place_t, std::initializer_list<int> i) in main()
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/
Din_place_t.pass.cpp24 using std::experimental::in_place_t;
72 constexpr test_constexpr_ctor(in_place_t, int i) in main()
100 constexpr test_constexpr_ctor(in_place_t) in main()
113 constexpr test_constexpr_ctor(in_place_t, int i) in main()
126 constexpr test_constexpr_ctor(in_place_t, int i, int j) in main()
Dinitializer_list.pass.cpp25 using std::experimental::in_place_t;
97 constexpr test_constexpr_ctor(in_place_t, std::initializer_list<int> i) in main()
/external/libcxx/test/std/utilities/optional/optional.syn/
Doptional_in_place_t.fail.cpp21 using std::in_place_t; in main()
24 optional<in_place_t> opt; // expected-note {{requested here}} in main()
/external/libcxx/test/std/experimental/optional/optional.syn/
Doptional_const_in_place_t.fail.cpp21 using std::experimental::in_place_t; in main()
24 optional<const in_place_t> opt; in main()
Doptional_in_place_t.fail.cpp21 using std::experimental::in_place_t; in main()
24 optional<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.cpp22 using std::experimental::in_place_t;
Dvalue_or.pass.cpp20 using std::experimental::in_place_t;
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
Dvalue_const.pass.cpp22 using std::in_place_t;
Dvalue_const_rvalue.pass.cpp22 using std::in_place_t;
Dvalue_or.pass.cpp22 using std::in_place_t;
/external/libcxx/test/std/utilities/utility/utility.inplace/
Dinplace.pass.cpp49 using T = std::in_place_t; in main()
/external/libcxx/include/
Doptional91 template <class... Args> constexpr explicit optional(in_place_t, Args &&...);
93 constexpr explicit optional(in_place_t, initializer_list<U>, Args &&...);
225 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
260 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
376 constexpr explicit __optional_storage_base(in_place_t, _UArg&& __uarg)
509 static_assert(!is_same_v<value_type, in_place_t>,
510 "instantiation of optional with in_place_t is ill-formed");
534 !is_same_v<in_place_t, _Up> &&
608 constexpr explicit optional(in_place_t, _Args&&... __args)
615 constexpr explicit optional(in_place_t, initializer_list<_Up> __il, _Args&&... __args)
Dutility176 struct in_place_t {
177 explicit in_place_t() = default;
179 inline constexpr in_place_t in_place{};
900 struct _LIBCPP_TYPE_VIS in_place_t {
901 explicit in_place_t() = default;
906 constexpr in_place_t in_place{};
Dvariant603 explicit constexpr __alt(in_place_t, _Args&&... __args)
/external/libchrome/base/
Doptional.h18 struct in_place_t {}; struct
28 constexpr in_place_t in_place = {};
100 explicit Optional(base::in_place_t, Args&&... args) {
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dvalue.pass.cpp112 using OKTag = std::in_place_t; in test_sfinae_constraints()