Home
last modified time | relevance | path

Searched refs:in_place_t (Results 1 – 20 of 20) 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.cpp96 static_assert(!test_convertible<O, std::in_place_t>(), ""); in test_implicit()
97 static_assert(!test_convertible<O, std::in_place_t&>(), ""); in test_implicit()
98 static_assert(!test_convertible<O, const std::in_place_t&>(), ""); in test_implicit()
99 static_assert(!test_convertible<O, std::in_place_t&&>(), ""); in test_implicit()
100 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/tensorflow/tensorflow/core/lib/gtl/
Doptional.h84 struct in_place_t {}; struct
85 extern const in_place_t in_place;
139 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
162 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
375 constexpr explicit optional(in_place_t, Args&&... args) in optional() argument
376 : data_base(in_place_t(), internal_optional::forward<Args>(args)...) {} in optional()
383 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() argument
385 : data_base(in_place_t(), il, internal_optional::forward<Args>(args)...) { in optional()
392 !std::is_same<in_place_t, typename std::decay<U>::type>::value &&
397 : data_base(in_place_t(), internal_optional::forward<U>(v)) {} in optional()
[all …]
Doptional_test.cc28 using tensorflow::gtl::in_place_t;
194 constexpr optional<ConstexprType> opt0{in_place_t()}; in TEST()
197 constexpr optional<ConstexprType> opt1{in_place_t(), 1}; in TEST()
201 constexpr optional<ConstexprType> opt2{in_place_t(), {1, 2}}; in TEST()
/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/libchrome/base/
Doptional.h17 struct in_place_t {}; struct
27 constexpr in_place_t in_place = {};
50 explicit OptionalStorage(base::in_place_t, Args&&... args) in OptionalStorage()
85 explicit OptionalStorage(base::in_place_t, Args&&... args)
144 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/tensorflow/tensorflow/core/framework/
Dvariant.h283 struct in_place_t {}; struct
284 static constexpr in_place_t in_place{};
303 explicit Value(in_place_t /*tag*/, Args&&... args) in Value()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.observe/
Dvalue_const.pass.cpp30 using std::in_place_t;
Dvalue_const_rvalue.pass.cpp30 using std::in_place_t;
Dvalue_or.pass.cpp22 using std::in_place_t;
/external/libcxx/test/libcxx/utilities/utility/
D__is_inplace_index.pass.cpp30 static_assert(!std::__is_inplace_index<std::in_place_t>::value, ""); in main()
D__is_inplace_type.pass.cpp30 static_assert(!std::__is_inplace_type<std::in_place_t>::value, ""); in main()
/external/libmojo/mojo/public/cpp/bindings/
Dstruct_ptr.h54 StructPtr(base::in_place_t, Args&&... args) in StructPtr() argument
144 InlinedStructPtr(base::in_place_t, Args&&... args) in InlinedStructPtr() argument
/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 &&...);
230 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
265 constexpr explicit __optional_destruct_base(in_place_t, _Args&&... __args)
381 constexpr explicit __optional_storage_base(in_place_t, _UArg&& __uarg)
590 static_assert(!is_same_v<value_type, in_place_t>,
591 "instantiation of optional with in_place_t is ill-formed");
615 !is_same_v<__uncvref_t<_Up>, in_place_t> &&
689 constexpr explicit optional(in_place_t, _Args&&... __args)
696 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{};
904 struct _LIBCPP_TYPE_VIS in_place_t {
905 explicit in_place_t() = default;
907 _LIBCPP_INLINE_VAR constexpr in_place_t in_place{};
Dvariant618 explicit constexpr __alt(in_place_t, _Args&&... __args)
/external/libcxx/test/std/utilities/utility/utility.inplace/
Dinplace.pass.cpp49 using T = std::in_place_t; in main()
/external/libcxx/test/std/utilities/any/any.class/any.cons/
Dvalue.pass.cpp119 using OKTag = std::in_place_t; in test_sfinae_constraints()