Home
last modified time | relevance | path

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

1234

/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
Dctor.fail.cpp33 …std::optional< std::in_place_t> o1; // expected-error-re@optional:* {{static_assert… in main()
34 …std::optional<const std::in_place_t> o2; // expected-error-re@optional:* {{static_assert… in main()
35 …std::optional< volatile std::in_place_t> o3; // expected-error-re@optional:* {{static_assert… in main()
36 …std::optional<const volatile std::in_place_t> o4; // expected-error-re@optional:* {{static_assert… in main()
Din_place_t.pass.cpp23 using std::in_place_t;
71 constexpr test_constexpr_ctor(in_place_t, int i) in main()
103 constexpr test_constexpr_ctor(in_place_t) in main()
116 constexpr test_constexpr_ctor(in_place_t, int i) in main()
129 constexpr test_constexpr_ctor(in_place_t, int i, int j) in main()
DU.pass.cpp94 static_assert(!test_convertible<O, std::in_place_t>(), ""); in test_implicit()
95 static_assert(!test_convertible<O, std::in_place_t&>(), ""); in test_implicit()
96 static_assert(!test_convertible<O, const 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()
/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()
/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/llvm-project/libcxx/test/std/utilities/optional/optional.syn/
Doptional_in_place_t.fail.cpp20 using std::in_place_t; in main()
23 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/webrtc/third_party/abseil-cpp/absl/types/
Doptional.h150 std::is_same<InPlaceT, in_place_t>,
153 : data_base(in_place_t(), absl::forward<Args>(args)...) {} in optional()
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() argument
164 : data_base(in_place_t(), il, absl::forward<Args>(args)...) { in optional()
172 in_place_t, typename std::decay<U>::type> >,
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
185 in_place_t, typename std::decay<U>::type>>,
192 : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
533 !std::is_same<in_place_t, typename std::remove_cv<T>::type>::value,
575 return optional<T>(in_place_t(), absl::forward<Args>(args)...); in make_optional()
[all …]
/external/abseil-cpp/absl/types/
Doptional.h150 std::is_same<InPlaceT, in_place_t>,
153 : data_base(in_place_t(), absl::forward<Args>(args)...) {} in optional()
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() argument
164 : data_base(in_place_t(), il, absl::forward<Args>(args)...) { in optional()
172 in_place_t, typename std::decay<U>::type> >,
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
185 in_place_t, typename std::decay<U>::type>>,
192 : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
533 !std::is_same<in_place_t, typename std::remove_cv<T>::type>::value,
575 return optional<T>(in_place_t(), absl::forward<Args>(args)...); in make_optional()
[all …]
/external/angle/third_party/abseil-cpp/absl/types/
Doptional.h150 std::is_same<InPlaceT, in_place_t>,
153 : data_base(in_place_t(), absl::forward<Args>(args)...) {} in optional()
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() argument
164 : data_base(in_place_t(), il, absl::forward<Args>(args)...) { in optional()
172 in_place_t, typename std::decay<U>::type> >,
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
185 in_place_t, typename std::decay<U>::type>>,
192 : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
533 !std::is_same<in_place_t, typename std::remove_cv<T>::type>::value,
575 return optional<T>(in_place_t(), absl::forward<Args>(args)...); in make_optional()
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/
Doptional.h150 std::is_same<InPlaceT, in_place_t>,
153 : data_base(in_place_t(), absl::forward<Args>(args)...) {} in optional()
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() argument
164 : data_base(in_place_t(), il, absl::forward<Args>(args)...) { in optional()
172 in_place_t, typename std::decay<U>::type> >,
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
185 in_place_t, typename std::decay<U>::type>>,
192 : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
533 !std::is_same<in_place_t, typename std::remove_cv<T>::type>::value,
575 return optional<T>(in_place_t(), absl::forward<Args>(args)...); in make_optional()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Doptional.h150 std::is_same<InPlaceT, in_place_t>,
153 : data_base(in_place_t(), absl::forward<Args>(args)...) {} in optional()
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() argument
164 : data_base(in_place_t(), il, absl::forward<Args>(args)...) { in optional()
172 in_place_t, typename std::decay<U>::type> >,
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
185 in_place_t, typename std::decay<U>::type>>,
192 : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
533 !std::is_same<in_place_t, typename std::remove_cv<T>::type>::value,
575 return optional<T>(in_place_t(), absl::forward<Args>(args)...); in make_optional()
[all …]
/external/openscreen/third_party/abseil/src/absl/types/
Doptional.h150 std::is_same<InPlaceT, in_place_t>,
153 : data_base(in_place_t(), absl::forward<Args>(args)...) {} in optional()
162 constexpr explicit optional(in_place_t, std::initializer_list<U> il, in optional() argument
164 : data_base(in_place_t(), il, absl::forward<Args>(args)...) { in optional()
172 in_place_t, typename std::decay<U>::type> >,
178 constexpr optional(U&& v) : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
185 in_place_t, typename std::decay<U>::type>>,
192 : data_base(in_place_t(), absl::forward<U>(v)) {} in optional()
533 !std::is_same<in_place_t, typename std::remove_cv<T>::type>::value,
575 return optional<T>(in_place_t(), absl::forward<Args>(args)...); in make_optional()
[all …]
/external/abseil-cpp/absl/container/internal/
Dcompressed_tuple.h107 explicit constexpr Storage(absl::in_place_t, V&& v)
120 explicit constexpr Storage(absl::in_place_t, V&& v)
143 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
155 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dcompressed_tuple.h107 explicit constexpr Storage(absl::in_place_t, V&& v)
120 explicit constexpr Storage(absl::in_place_t, V&& v)
143 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
155 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
/external/abseil-cpp/absl/types/internal/
Doptional.h103 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
132 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
146 constexpr explicit optional_data_base(in_place_t t, Args&&... args) in optional_data_base()
189 constexpr explicit optional_data(in_place_t t, Args&&... args)
201 constexpr explicit optional_data(in_place_t t, Args&&... args)
/external/webrtc/third_party/abseil-cpp/absl/types/internal/
Doptional.h103 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
132 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
146 constexpr explicit optional_data_base(in_place_t t, Args&&... args) in optional_data_base()
189 constexpr explicit optional_data(in_place_t t, Args&&... args)
201 constexpr explicit optional_data(in_place_t t, Args&&... args)
/external/angle/third_party/abseil-cpp/absl/types/internal/
Doptional.h103 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
132 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
146 constexpr explicit optional_data_base(in_place_t t, Args&&... args) in optional_data_base()
189 constexpr explicit optional_data(in_place_t t, Args&&... args)
201 constexpr explicit optional_data(in_place_t t, Args&&... args)
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/internal/
Doptional.h103 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
132 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
146 constexpr explicit optional_data_base(in_place_t t, Args&&... args) in optional_data_base()
189 constexpr explicit optional_data(in_place_t t, Args&&... args)
201 constexpr explicit optional_data(in_place_t t, Args&&... args)
/external/libtextclassifier/abseil-cpp/absl/types/internal/
Doptional.h103 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
132 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
146 constexpr explicit optional_data_base(in_place_t t, Args&&... args) in optional_data_base()
189 constexpr explicit optional_data(in_place_t t, Args&&... args)
201 constexpr explicit optional_data(in_place_t t, Args&&... args)
/external/openscreen/third_party/abseil/src/absl/types/internal/
Doptional.h103 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
132 constexpr explicit optional_data_dtor_base(in_place_t, Args&&... args) in optional_data_dtor_base() argument
146 constexpr explicit optional_data_base(in_place_t t, Args&&... args) in optional_data_base()
189 constexpr explicit optional_data(in_place_t t, Args&&... args)
201 constexpr explicit optional_data(in_place_t t, Args&&... args)
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dcompressed_tuple.h107 explicit constexpr Storage(absl::in_place_t, V&& v)
120 explicit constexpr Storage(absl::in_place_t, V&& v)
143 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
155 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dcompressed_tuple.h107 explicit constexpr Storage(absl::in_place_t, V&& v)
120 explicit constexpr Storage(absl::in_place_t, V&& v)
143 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
155 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dcompressed_tuple.h107 explicit constexpr Storage(absl::in_place_t, V&& v)
120 explicit constexpr Storage(absl::in_place_t, V&& v)
143 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)
155 explicit constexpr CompressedTupleImpl(absl::in_place_t, Vs&&... args)

1234