Home
last modified time | relevance | path

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

/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()
DU.pass.cpp97 static_assert(!test_convertible<O, std::in_place_t>(), ""); in test_implicit()
98 static_assert(!test_convertible<O, std::in_place_t&>(), ""); in test_implicit()
99 static_assert(!test_convertible<O, const std::in_place_t&>(), ""); in test_implicit()
100 static_assert(!test_convertible<O, std::in_place_t&&>(), ""); in test_implicit()
101 static_assert(!test_convertible<O, const std::in_place_t&&>(), ""); in test_implicit()
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/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/bcc/src/cc/vendor/
Doptional.hpp246 constexpr struct in_place_t{} in_place{}; struct
308 template <class... Args> explicit optional_base(in_place_t, Args&&... args) in optional_base()
312 explicit optional_base(in_place_t, std::initializer_list<U> il, Args&&... args) in optional_base()
331 template <class... Args> explicit constexpr constexpr_optional_base(in_place_t, Args&&... args) in constexpr_optional_base()
335 …OPTIONAL_CONSTEXPR_INIT_LIST explicit constexpr_optional_base(in_place_t, std::initializer_list<U>… in constexpr_optional_base()
354 static_assert( !std::is_same<typename std::decay<T>::type, in_place_t>::value, "bad T" );
426 explicit constexpr optional(in_place_t, Args&&... args) in optional() argument
427 : OptionalBase<T>(in_place_t{}, constexpr_forward<Args>(args)...) {} in optional()
430 …OPTIONAL_CONSTEXPR_INIT_LIST explicit optional(in_place_t, std::initializer_list<U> il, Args&&... … in optional() argument
431 : OptionalBase<T>(in_place_t{}, il, constexpr_forward<Args>(args)...) {} in optional()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dvariant.h257 struct in_place_t {}; struct
258 static constexpr in_place_t in_place{};
277 explicit Value(in_place_t /*tag*/, Args&&... args) in Value()
/external/v8/src/base/
Doptional.h21 struct in_place_t {}; struct
31 constexpr in_place_t in_place = {};
54 explicit OptionalStorage(base::in_place_t, Args&&... args) in OptionalStorage()
88 explicit OptionalStorage(base::in_place_t, Args&&... args)
147 explicit Optional(base::in_place_t, Args&&... args)
/external/pdfium/third_party/base/
Doptional.h16 struct in_place_t {}; struct
26 constexpr in_place_t in_place = {};
49 explicit OptionalStorage(in_place_t, Args&&... args) in OptionalStorage()
84 explicit OptionalStorage(in_place_t, Args&&... args)
144 explicit Optional(in_place_t, Args&&... args)
/external/perfetto/include/perfetto/base/
Doptional.h31 struct in_place_t {}; struct
41 constexpr in_place_t in_place = {};
60 constexpr explicit OptionalStorageBase(in_place_t, Args&&... args) in OptionalStorageBase()
103 constexpr explicit OptionalStorageBase(in_place_t, Args&&... args)
205 constexpr explicit OptionalBase(in_place_t, Args&&... args)
475 constexpr explicit Optional(in_place_t, Args&&... args)
484 constexpr explicit Optional(in_place_t,
495 !std::is_same<internal::RemoveCvRefT<U>, in_place_t>::value &&
506 !std::is_same<internal::RemoveCvRefT<U>, in_place_t>::value &&
/external/libchrome/base/
Doptional.h18 struct in_place_t {}; struct
28 constexpr in_place_t in_place = {};
47 constexpr explicit OptionalStorageBase(in_place_t, Args&&... args) in OptionalStorageBase()
90 constexpr explicit OptionalStorageBase(in_place_t, Args&&... args)
226 constexpr explicit OptionalBase(in_place_t, Args&&... args)
490 constexpr explicit Optional(in_place_t, Args&&... args)
499 constexpr explicit Optional(in_place_t,
510 !std::is_same<internal::RemoveCvRefT<U>, in_place_t>::value &&
521 !std::is_same<internal::RemoveCvRefT<U>, in_place_t>::value &&
Doptional_unittest.cc511 explicit Test(in_place_t param) : param_type(ParamType::IN_PLACE) {} in TEST()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
Dvalue_const.pass.cpp31 using std::in_place_t;
Dvalue_const_rvalue.pass.cpp31 using std::in_place_t;
Dvalue_or.pass.cpp22 using std::in_place_t;
/external/libcxx/test/libcxx/utilities/utility/
D__is_inplace_type.pass.cpp30 static_assert(!std::__is_inplace_type<std::in_place_t>::value, ""); in main()
D__is_inplace_index.pass.cpp30 static_assert(!std::__is_inplace_index<std::in_place_t>::value, ""); in main()
/external/libchrome/mojo/public/cpp/bindings/
Dstruct_ptr.h54 StructPtr(base::in_place_t, Args&&... args) in StructPtr() argument
149 InlinedStructPtr(base::in_place_t, Args&&... args) in InlinedStructPtr() argument
/external/libcxx/test/std/utilities/utility/utility.inplace/
Dinplace.pass.cpp49 using T = std::in_place_t; in main()
/external/libcxx/include/
Doptional93 template <class... Args> constexpr explicit optional(in_place_t, Args &&...);
95 constexpr explicit optional(in_place_t, initializer_list<U>, Args &&...);
236 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
271 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
387 constexpr explicit __optional_storage_base(in_place_t, _UArg&& __uarg)
596 static_assert(!is_same_v<value_type, in_place_t>,
597 "instantiation of optional with in_place_t is ill-formed");
621 !is_same_v<__uncvref_t<_Up>, in_place_t> &&
695 constexpr explicit optional(in_place_t, _Args&&... __args)
702 constexpr explicit optional(in_place_t, initializer_list<_Up> __il, _Args&&... __args)
Dutility178 struct in_place_t {
179 explicit in_place_t() = default;
181 inline constexpr in_place_t in_place{};
932 struct _LIBCPP_TYPE_VIS in_place_t {
933 explicit in_place_t() = default;
935 _LIBCPP_INLINE_VAR constexpr in_place_t in_place{};
Dvariant620 explicit constexpr __alt(in_place_t, _Args&&... __args)
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dvalue.pass.cpp120 using OKTag = std::in_place_t; in test_sfinae_constraints()
/external/perfetto/src/base/
Doptional_unittest.cc528 explicit Test(in_place_t) : param_type(ParamType::IN_PLACE) {} in TEST()
/external/v8/src/wasm/
Dmodule-compiler.cc886 base::in_place_t(), isolate->heap()); in CompileToModuleObject()