Home
last modified time | relevance | path

Searched refs:is_constructible (Results 1 - 25 of 32) sorted by relevance

12

/third_party/json/include/nlohmann/detail/meta/
H A Dtype_traits.hpp12 #include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type
116 // use this trait instead of std::is_constructible or std::is_convertible,
198 // Reimplementation of is_constructible and is_default_constructible, due to them being broken for
222 struct is_constructible : std::is_constructible<T, Args...> {}; struct
225 struct is_constructible<std::pair<T1, T2>> : is_default_constructible<std::pair<T1, T2>> {}; struct
228 struct is_constructible<const std::pair<T1, T2>> : is_default_constructible<const std::pair<T1, T2>> {}; struct
231 struct is_constructible<std::tuple<Ts...>> : is_default_constructible<std::tuple<Ts...>> {}; struct
234 struct is_constructible<const std::tuple<Ts...>> : is_default_constructible<const std::tuple<Ts...>> {}; struct
302 // macOS's is_constructible doe
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
H A Dstatusor.h233 std::is_constructible<T, const U&>,
246 std::is_constructible<T, const U&>,
259 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>,
271 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>,
304 std::is_constructible<T, const U&>,
319 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>,
347 std::is_constructible<absl::Status, U&&>,
361 std::is_constructible<absl::Status, U&&>,
375 std::is_constructible<absl::Status, U&&>,
406 std::is_constructible<
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Doptional.h151 std::is_constructible<T, Args&&...> >::value>* = nullptr>
160 typename = typename std::enable_if<std::is_constructible<
176 std::is_constructible<T, U&&> >::value,
189 std::is_constructible<T, U&&>>::value,
199 std::is_constructible<T, const U&>,
216 std::is_constructible<T, const U&>,
233 std::is_constructible<T, U&&>,
250 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>,
293 std::is_constructible<T, U>, std::is_assignable<T&, U>>::value>::type>
303 std::is_constructible<
[all...]
H A Dany.h239 std::is_constructible<VT, Args...>>::value>* = nullptr>
251 std::is_constructible<VT, std::initializer_list<U>&,
299 std::is_constructible<VT, Args...>::value>* = nullptr>
322 std::is_constructible<VT, std::initializer_list<U>&,
466 static_assert(std::is_constructible<ValueType, const U&>::value,
480 static_assert(std::is_constructible<ValueType, U&>::value,
494 static_assert(std::is_constructible<ValueType, U>::value,
H A Dspan_test.cc77 EXPECT_TRUE((std::is_constructible<absl::Span<const int>, int[3]>::value)); in TEST()
79 (std::is_constructible<absl::Span<const int>, const int[3]>::value)); in TEST()
80 EXPECT_FALSE((std::is_constructible<absl::Span<int>, const int[3]>::value)); in TEST()
142 EXPECT_FALSE((std::is_constructible<absl::Span<int>, std::string>::value)); in TEST()
144 (std::is_constructible<absl::Span<const int>, std::string>::value)); in TEST()
150 EXPECT_TRUE((std::is_constructible<absl::Span<const int* const>, in TEST()
152 EXPECT_TRUE((std::is_constructible<absl::Span<const int* const>, in TEST()
155 std::is_constructible<absl::Span<const int*>, std::vector<int*>>::value)); in TEST()
157 std::is_constructible<absl::Span<int*>, std::vector<const int*>>::value)); in TEST()
174 (std::is_constructible<abs in TEST()
[all...]
H A Dvariant.h510 absl::enable_if_t<std::is_constructible<Tj, T>::value>* =
521 typename std::enable_if<std::is_constructible<
535 typename std::enable_if<std::is_constructible<
547 typename std::enable_if<std::is_constructible<
557 typename std::enable_if<std::is_constructible<
591 std::is_constructible<Tj, T>::value>::type* =
619 typename std::enable_if<std::is_constructible<
640 typename std::enable_if<std::is_constructible<
662 std::is_constructible<absl::variant_alternative_t<I, variant>,
678 typename std::enable_if<std::is_constructible<
[all...]
H A Doptional_test.cc345 EXPECT_FALSE((std::is_constructible<absl::optional<ConvertsFromInPlaceT>, in TEST()
347 EXPECT_FALSE((std::is_constructible<absl::optional<ConvertsFromInPlaceT>, in TEST()
350 (std::is_constructible<absl::optional<ConvertsFromInPlaceT>, in TEST()
353 EXPECT_FALSE((std::is_constructible<absl::optional<NoDefault>, in TEST()
355 EXPECT_FALSE((std::is_constructible<absl::optional<NoDefault>, in TEST()
850 // std::is_constructible<MoveConvertFromOptional, in TEST()
1599 EXPECT_TRUE((std::is_constructible<AnyLike, absl::optional<AnyLike>>::value)); in TEST()
1602 (std::is_constructible<AnyLike, const absl::optional<AnyLike>&>::value)); in TEST()
1604 EXPECT_TRUE((std::is_constructible<absl::optional<AnyLike>, AnyLike>::value)); in TEST()
1606 (std::is_constructible<abs in TEST()
[all...]
/third_party/node/deps/v8/src/base/
H A Doptional.h340 bool, std::is_constructible<T, Optional<U>&>::value ||
341 std::is_constructible<T, const Optional<U>&>::value ||
342 std::is_constructible<T, Optional<U>&&>::value ||
343 std::is_constructible<T, const Optional<U>&&>::value ||
442 std::is_constructible<T, const U&>::value &&
451 std::is_constructible<T, const U&>::value &&
462 std::is_constructible<T, U&&>::value &&
471 std::is_constructible<T, U&&>::value &&
483 class = typename std::enable_if<std::is_constructible<
494 std::is_constructible<
[all...]
/third_party/json/tests/src/
H A Dunit-regression2.cpp436 static_assert(!std::is_constructible<json, std::variant<int, float>>::value, "unexpected value");
578 static_assert(!std::is_constructible<json, std::pair<std::string, NotSerializableData>>::value, "unexpected result");
579 static_assert(!std::is_constructible<json, std::pair<NotSerializableData, std::string>>::value, "unexpected result");
580 static_assert(std::is_constructible<json, std::pair<int, std::string>>::value, "unexpected result");
584 static_assert(!std::is_constructible<json, std::tuple<std::string, NotSerializableData>>::value, "unexpected result");
585 static_assert(!std::is_constructible<json, std::tuple<NotSerializableData, std::string>>::value, "unexpected result");
586 static_assert(std::is_constructible<json, std::tuple<int, std::string>>::value, "unexpected result");
868 SECTION("issue #3171 - if class is_constructible from std::string wrong from_json overload is being selected, compilation failed")
/third_party/gn/src/base/containers/
H A Dflat_map.h223 std::enable_if_t<std::is_constructible<key_type, K&&>::value,
228 std::enable_if_t<std::is_constructible<key_type, K&&>::value, iterator>
331 -> std::enable_if_t<std::is_constructible<key_type, K&&>::value,
344 -> std::enable_if_t<std::is_constructible<key_type, K&&>::value, iterator> {
/third_party/skia/third_party/externals/abseil-cpp/absl/status/internal/
H A Dstatusor_internal.h48 absl::disjunction<std::is_constructible<T, StatusOr<U>&>,
49 std::is_constructible<T, const StatusOr<U>&>,
50 std::is_constructible<T, StatusOr<U>&&>,
51 std::is_constructible<T, const StatusOr<U>&&>,
213 absl::enable_if_t<std::is_constructible<absl::Status, U&&>::value,
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
H A Doptional.h339 bool, std::is_constructible<T, optional<U>&>::value ||
340 std::is_constructible<T, optional<U>&&>::value ||
341 std::is_constructible<T, const optional<U>&>::value ||
342 std::is_constructible<T, const optional<U>&&>::value ||
/third_party/node/deps/v8/third_party/googletest/gmock_custom/gmock/internal/custom/
H A Dgmock-port.h21 using is_default_constructible = std::is_constructible<T>;
/third_party/json/include/nlohmann/detail/
H A Djson_ref.hpp41 enable_if_t<std::is_constructible<value_type, Args...>::value, int> = 0 >
/third_party/json/include/nlohmann/detail/conversions/
H A Dto_json.hpp15 #include <type_traits> // is_same, is_constructible, is_floating_point, is_enum, underlying_type
284 enable_if_t<std::is_constructible<typename BasicJsonType::string_t, CompatibleString>::value, int> = 0>
380 enable_if_t < !std::is_constructible<typename BasicJsonType::string_t,
388 template < typename BasicJsonType, typename T1, typename T2, enable_if_t < std::is_constructible<BasicJsonType, T1>::value&& std::is_constructible<BasicJsonType, T2>::value, int > = 0 >
H A Dfrom_json.hpp420 typename = enable_if_t < !std::is_constructible <
440 typename = enable_if_t < !std::is_constructible <
/third_party/node/deps/ada/
H A Dada.h1921 template <class... Args, typename std::enable_if<std::is_constructible<
1927 typename std::enable_if<std::is_constructible<
2186 std::is_constructible<T, U &&>::value &&
2193 std::is_constructible<T, UR>::value &&
2194 std::is_constructible<E, GR>::value &&
2195 !std::is_constructible<T, expected<U, G> &>::value &&
2196 !std::is_constructible<T, expected<U, G> &&>::value &&
2197 !std::is_constructible<T, const expected<U, G> &>::value &&
2198 !std::is_constructible<T, const expected<U, G> &&>::value &&
2240 detail::enable_if_t<std::is_constructible<
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dstr_split_internal.h216 : std::is_constructible<typename C::value_type, absl::string_view> {};
221 std::is_constructible<typename C::key_type, absl::string_view>,
222 std::is_constructible<typename C::mapped_type, absl::string_view>> {};
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
H A Dint128_test.cc57 static_assert(std::is_constructible<absl::uint128, TypeParam>::value, in TYPED_TEST()
68 static_assert(std::is_constructible<absl::uint128, TypeParam>::value, in TYPED_TEST()
80 static_assert(std::is_constructible<absl::uint128, __int128>::value, in TEST()
87 static_assert(std::is_constructible<absl::uint128, unsigned __int128>::value, in TEST()
523 static_assert(std::is_constructible<absl::int128, TypeParam>::value, in TYPED_TEST()
537 static_assert(std::is_constructible<absl::int128, TypeParam>::value, in TYPED_TEST()
549 static_assert(std::is_constructible<absl::int128, __int128>::value, in TEST()
556 static_assert(std::is_constructible<absl::int128, unsigned __int128>::value, in TEST()
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-actions.h427 std::is_constructible<typename std::decay<Callable>::type, Callable>,
437 std::is_constructible<typename std::decay<Callable>::type, Callable>,
451 // when checking the is_constructible requirement of our
468 // when checking the is_constructible requirement of our
747 using IsCompatibleFunctor = std::is_constructible<std::function<F>, G>;
763 IsCompatibleFunctor<G>, std::is_constructible<std::function<Result()>,
2101 using type = typename std::conditional<std::is_constructible<Impl>::value,
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstr_format.h477 typename = typename std::enable_if<std::is_constructible<
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dcompressed_tuple.h175 std::is_constructible<T, V&&>>::type;
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp3029 #include <type_traits> // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type
3198 #include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type
3435 // use this trait instead of std::is_constructible or std::is_convertible,
3499 // Reimplementation of is_constructible and is_default_constructible, due to them being broken for
3523 struct is_constructible : std::is_constructible<T, Args...> {};
3526 struct is_constructible<std::pair<T1, T2>> : is_default_constructible<std::pair<T1, T2>> {};
3529 struct is_constructible<const std::pair<T1, T2>> : is_default_constructible<const std::pair<T1, T2>> {};
3532 struct is_constructible<std::tuple<Ts...>> : is_default_constructible<std::tuple<Ts...>> {};
3535 struct is_constructible<cons
[all...]
/third_party/json/single_include/nlohmann/
H A Djson.hpp3054 #include <type_traits> // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type
3226 #include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type
3512 // use this trait instead of std::is_constructible or std::is_convertible,
3594 // Reimplementation of is_constructible and is_default_constructible, due to them being broken for
3618 struct is_constructible : std::is_constructible<T, Args...> {}; struct
3621 struct is_constructible<std::pair<T1, T2>> : is_default_constructible<std::pair<T1, T2>> {}; struct
3624 struct is_constructible<const std::pair<T1, T2>> : is_default_constructible<const std::pair<T1, T2>> {}; struct
3627 struct is_constructible<std::tuple<Ts...>> : is_default_constructible<std::tuple<Ts...>> {}; struct
3630 struct is_constructible<cons struct
[all...]
/third_party/googletest/googletest/include/gtest/
H A Dgtest-matchers.h810 std::is_constructible<std::string, T>::value>::type>

Completed in 40 milliseconds

12