Home
last modified time | relevance | path

Searched refs:is_constructible (Results 1 – 25 of 131) sorted by relevance

123456

/third_party/boost/libs/type_traits/test/
Dis_constructible_test.cpp33 TT_TEST_BEGIN(is_constructible)
36 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B &&, A>::value) , false);
37 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B const &&, A>::value) , false);
38 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B const &&, A const>::value) , false);
39 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B volatile &&, A>::value) , false);
40 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B volatile &&, A volatile>::value) , false);
41 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B const volatile &&, A>::value) , false);
42 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B const volatile &&, A const>::value) , false…
43 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B const volatile &&, A volatile>::value) , fa…
44 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::is_constructible<B const volatile &&, A const volatile>::value…
[all …]
/third_party/boost/libs/fusion/test/sequence/
Dtuple_traits.cpp57 BOOST_TEST((is_constructible< tuple<> >(true))); in main()
58 BOOST_TEST((is_constructible<tuple<>, int>(false))); in main()
60 BOOST_TEST((is_constructible< tuple<int> >(true))); in main()
61 BOOST_TEST((is_constructible<tuple<int>, int>(true))); in main()
62 BOOST_TEST((is_constructible<tuple<convertible>, int>(true))); in main()
63 BOOST_TEST((is_constructible<tuple<not_convertible>, int>(false))); in main()
64 BOOST_TEST((is_constructible< tuple<int>, vector<int> >(false))); in main()
65 BOOST_TEST((is_constructible<tuple<int>, int, int>(false))); in main()
67 BOOST_TEST((is_constructible< tuple<int, int> >(true))); in main()
70 BOOST_TEST((is_constructible<tuple<int, int>, int, int>(true))); in main()
[all …]
Dtraits.hpp50 boost::is_constructible< in is_lvalue_constructible()
60 boost::is_constructible<To, Args...>::value == has_constructor && in is_constructible_impl()
68 bool is_constructible(bool has_constructor) in is_constructible() function
81 BOOST_TEST((is_constructible< FUSION_SEQUENCE<> >(true))); in test_constructible()
83 BOOST_TEST((is_constructible< FUSION_SEQUENCE<int> >(true))); in test_constructible()
84 BOOST_TEST((is_constructible<FUSION_SEQUENCE<int>, int>(true))); in test_constructible()
86 BOOST_TEST((is_constructible<FUSION_SEQUENCE<convertible>, int>(true))); in test_constructible()
88 is_constructible<FUSION_SEQUENCE<convertible>, convertible>(true) in test_constructible()
94 is_constructible<FUSION_SEQUENCE<int, int>, int, int>(true) in test_constructible()
98 is_constructible<FUSION_SEQUENCE<convertible, int>, int, int>(true) in test_constructible()
[all …]
/third_party/boost/boost/type_traits/
Dis_constructible.hpp50 …template <class T, class ...Args> struct is_constructible : public integral_constant<bool, sizeof(… struct
54 …template <class T, class Arg> struct is_constructible<T, Arg> : public integral_constant<bool, is_… struct
58 …template <class Ref, class Arg> struct is_constructible<Ref&, Arg> : public integral_constant<bool… struct
59 …template <class Ref, class Arg> struct is_constructible<Ref&&, Arg> : public integral_constant<boo… struct
61 template <> struct is_constructible<void> : public false_type{}; struct
62 template <> struct is_constructible<void const> : public false_type{}; struct
63 template <> struct is_constructible<void const volatile> : public false_type{}; struct
64 template <> struct is_constructible<void volatile> : public false_type{}; struct
66 template <class T> struct is_constructible<T> : public is_default_constructible<T>{}; struct
76 template <class T, class U = void> struct is_constructible : public is_convertible<U, T>{};
[all …]
/third_party/boost/boost/variant/
Drecursive_wrapper_fwd.hpp51 template <class T> struct is_constructible<recursive_wrapper<T>, T> … struct
52 template <class T> struct is_constructible<recursive_wrapper<T>, const T> … struct
53 template <class T> struct is_constructible<recursive_wrapper<T>, T&> … struct
54 template <class T> struct is_constructible<recursive_wrapper<T>, const T&> … struct
55 template <class T> struct is_constructible<recursive_wrapper<T>, recursive_wrapper<T> > … struct
56 template <class T> struct is_constructible<recursive_wrapper<T>, const recursive_wrapper<T… struct
57 template <class T> struct is_constructible<recursive_wrapper<T>, recursive_wrapper<T>& > … struct
58 template <class T> struct is_constructible<recursive_wrapper<T>, const recursive_wrapper<T… struct
60 template <class T, class U> struct is_constructible<recursive_wrapper<T>, U > … struct
61 template <class T, class U> struct is_constructible<recursive_wrapper<T>, const U > … struct
[all …]
/third_party/boost/libs/optional/test/
Doptional_test_sfinae_friendly_ctor.cpp30 BOOST_STATIC_ASSERT(( boost::is_constructible<Resource, const X&>::value ));
31 BOOST_STATIC_ASSERT(( !boost::is_constructible<Resource, const Y&>::value ));
33 BOOST_STATIC_ASSERT(( boost::is_constructible<optional<Resource>, const X&>::value ));
34 BOOST_STATIC_ASSERT(( !boost::is_constructible<optional<Resource>, const Y&>::value ));
37 BOOST_STATIC_ASSERT(( boost::is_constructible< optional< optional<int> >, optional<int> >::value )…
38 BOOST_STATIC_ASSERT(( !boost::is_constructible< optional<int>, optional< optional<int> > >::value )…
40 BOOST_STATIC_ASSERT(( boost::is_constructible< optional< optional<int> >, const optional<int>& >::…
41 BOOST_STATIC_ASSERT(( !boost::is_constructible< optional<int>, const optional< optional<int> >& >::…
43 BOOST_STATIC_ASSERT(( boost::is_constructible<optional<Resource>, const optional<X>&>::value ));
44 BOOST_STATIC_ASSERT(( !boost::is_constructible<optional<Resource>, const optional<Y>&>::value ));
/third_party/boost/libs/hana/test/tuple/
Dcnstr.variadic_forward.cpp63 static_assert(!std::is_constructible< in main()
68 static_assert(std::is_constructible< in main()
76 static_assert(!std::is_constructible< in main()
81 static_assert(std::is_constructible< in main()
90 static_assert(!std::is_constructible< in main()
95 static_assert(std::is_constructible< in main()
104 static_assert(!std::is_constructible< in main()
109 static_assert(std::is_constructible< in main()
Dcnstr.move.cpp57 static_assert(!std::is_constructible< in main()
61 static_assert(!std::is_constructible< in main()
65 static_assert(std::is_constructible< in main()
69 static_assert(std::is_constructible< in main()
Dcnstr.variadic_array.cpp17 static_assert(!std::is_constructible<hana::tuple<int[3]>, int[3]>{}, ""); in main()
18 static_assert(!std::is_constructible<hana::tuple<int[3], float[4]>, int[3], float[4]>{}, ""); in main()
/third_party/boost/libs/type_traits/doc/
Dis_constructible.qbk8 [section:is_constructible is_constructible]
11 struct is_constructible : public __tof {};
25 is_constructible<T>::value
29 is_constructible<T, const T&>::value
33 is_constructible<T, T>::value
42 __header ` #include <boost/type_traits/is_constructible.hpp>` or ` #include <boost/type_traits.hpp>`
/third_party/boost/libs/beast/include/boost/beast/http/
Dtype_traits.hpp92 (std::is_constructible<typename T::writer,
95 std::is_constructible<typename T::writer,
131 std::is_constructible<typename T::writer,
134 std::is_constructible<typename T::writer,
137 ! std::is_constructible<typename T::writer,
140 ! std::is_constructible<typename T::writer,
186 (std::is_constructible<typename T::reader,
189 std::is_constructible<typename T::reader,
/third_party/boost/boost/beast/http/
Dtype_traits.hpp92 (std::is_constructible<typename T::writer,
95 std::is_constructible<typename T::writer,
131 std::is_constructible<typename T::writer,
134 std::is_constructible<typename T::writer,
137 ! std::is_constructible<typename T::writer,
140 ! std::is_constructible<typename T::writer,
186 (std::is_constructible<typename T::reader,
189 std::is_constructible<typename T::reader,
/third_party/boost/libs/outcome/test/tests/
Dcore-outcome.cpp44 …static_assert(std::is_constructible<outcome<long>, int>::value, "Sanity check that monad can be co…
45 static_assert(!std::is_constructible<outcome<outcome<long>>, int>::value,
48 static_assert(!std::is_constructible<outcome<outcome<outcome<long>>>, int>::value,
50 static_assert(!std::is_constructible<outcome<outcome<outcome<outcome<long>>>>, int>::value,
54 …static_assert(std::is_constructible<outcome<int>, outcome<long>>::value, "Sanity check that compat…
55 …static_assert(std::is_constructible<outcome<outcome<int>>, outcome<long>>::value, "Sanity check th…
57 static_assert(!std::is_constructible<outcome<outcome<outcome<int>>>, outcome<long>>::value,
59 …static_assert(!std::is_constructible<outcome<outcome<outcome<outcome<int>>>>, outcome<long>>::valu…
62 static_assert(!std::is_constructible<outcome<std::string>, outcome<int>>::value,
65 …static_assert(std::is_constructible<outcome<int>, outcome<void>>::value, "Sanity check that all mo…
[all …]
Dcore-result.cpp80 …static_assert(std::is_constructible<result<long>, int>::value, "Sanity check that monad can be con…
81 …static_assert(!std::is_constructible<result<result<long>>, int>::value, "Sanity check that outer m…
83 …static_assert(!std::is_constructible<result<result<result<long>>>, int>::value, "Sanity check that…
84 …static_assert(!std::is_constructible<result<result<result<result<long>>>>, int>::value, "Sanity ch…
87 …static_assert(std::is_constructible<result<int>, result<long>>::value, "Sanity check that compatib…
88 …static_assert(std::is_constructible<result<result<int>>, result<long>>::value, "Sanity check that …
90 …static_assert(!std::is_constructible<result<result<result<int>>>, result<long>>::value, "Sanity ch…
91 …static_assert(!std::is_constructible<result<result<result<result<int>>>>, result<long>>::value, "S…
93 …static_assert(!std::is_constructible<result<std::string>, result<int>>::value, "Sanity check that …
96 …static_assert(std::is_constructible<result<int>, result<void>>::value, "Sanity check that all mona…
[all …]
Dissue0140.cpp83 …static_assert(!std::is_constructible<out::result<NotCopyMoveConstructible>, const NotCopyMoveConst…
84 …static_assert(!std::is_constructible<out::result<NotCopyMoveConstructible>, NotCopyMoveConstructib…
89 …static_assert(std::is_constructible<out::result<NotMoveConstructible>, const NotMoveConstructible …
93 …static_assert(!std::is_constructible<out::result<NotCopyConstructible>, const NotCopyConstructible…
/third_party/boost/boost/poly_collection/detail/
Dis_constructible.hpp35 struct is_constructible:std::integral_constant< struct
37 boost::is_constructible<T,Args...>::value
56 using is_constructible=std::is_constructible<T,Args...>; typedef
/third_party/boost/boost/hof/detail/
Dintrinsics.hpp32 #define BOOST_HOF_IS_CONSTRUCTIBLE(...) std::is_constructible<__VA_ARGS__>::value
49 #define BOOST_HOF_IS_CONSTRUCTIBLE(...) std::is_constructible<__VA_ARGS__>::value
100 struct is_constructible struct
101 : std::is_constructible<T, Xs...>
105 struct is_constructible<T> struct
/third_party/boost/boost/math/special_functions/
Dtrunc.hpp112 inline typename boost::enable_if_c<boost::is_constructible<int, T>::value, int>::type
119 inline typename boost::disable_if_c<boost::is_constructible<int, T>::value, int>::type
127 inline typename boost::enable_if_c<boost::is_constructible<long, T>::value, long>::type
134 inline typename boost::disable_if_c<boost::is_constructible<long, T>::value, long>::type
144 inline typename boost::enable_if_c<boost::is_constructible<boost::long_long_type, T>::value, boost:…
151 inline typename boost::disable_if_c<boost::is_constructible<boost::long_long_type, T>::value, boost…
/third_party/boost/libs/beast/test/beast/http/
Dserializer.cpp70 BOOST_STATIC_ASSERT(std::is_constructible<
74 BOOST_STATIC_ASSERT(std::is_constructible<
78 BOOST_STATIC_ASSERT(std::is_constructible<
82 BOOST_STATIC_ASSERT(! std::is_constructible<
Dmessage.cpp82 BOOST_STATIC_ASSERT(std::is_constructible<
86 BOOST_STATIC_ASSERT(! std::is_constructible<request<one_arg_body>
92 BOOST_STATIC_ASSERT(std::is_constructible<request<one_arg_body>,
95 BOOST_STATIC_ASSERT(std::is_constructible<request<one_arg_body>,
98 BOOST_STATIC_ASSERT(std::is_constructible<request<one_arg_body>,
101 BOOST_STATIC_ASSERT(std::is_constructible<request<one_arg_body>,
105 BOOST_STATIC_ASSERT(std::is_constructible<request<one_arg_body>,
108 BOOST_STATIC_ASSERT(std::is_constructible<request<one_arg_body>, std::piecewise_construct_t,
111 BOOST_STATIC_ASSERT(std::is_constructible<request<two_arg_body>, std::piecewise_construct_t,
114 BOOST_STATIC_ASSERT(std::is_constructible<request<two_arg_body>, std::piecewise_construct_t,
/third_party/boost/boost/math/tools/
Dconvert_from_string.hpp22 …typedef typename boost::conditional<boost::is_constructible<T, const char*>::value, const char*, T…
41 …::type convert_from_string(const char* p) BOOST_NOEXCEPT_IF((boost::is_constructible<Real, const c… in convert_from_string()
43 return convert_from_string<Real>(p, boost::is_constructible<Real, const char*>()); in convert_from_string()
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
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<T, U&&>, std::is_assignable<T&, U&&>,
[all …]
/third_party/abseil-cpp/absl/status/
Dstatusor.h223 std::is_constructible<T, const U&>,
236 std::is_constructible<T, const U&>,
249 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>,
261 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>,
294 std::is_constructible<T, const U&>,
309 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>,
337 std::is_constructible<absl::Status, U&&>,
351 std::is_constructible<absl::Status, U&&>,
365 std::is_constructible<absl::Status, U&&>,
396 std::is_constructible<T, U&&>, std::is_assignable<T&, U&&>,
[all …]
/third_party/json/include/nlohmann/detail/meta/
Dtype_traits.hpp194 std::is_constructible<typename object_t::key_type,
196 std::is_constructible<typename object_t::mapped_type,
220 (std::is_constructible<typename ConstructibleObjectType::key_type,
248 std::is_constructible<typename BasicJsonType::string_t, CompatibleStringType>::value;
266 std::is_constructible<ConstructibleStringType,
289 std::is_constructible<BasicJsonType,
356 std::is_constructible<RealIntegerType,
394 struct is_constructible_tuple<T1, std::tuple<Args...>> : conjunction<std::is_constructible<T1, Args…
/third_party/json/test/src/
Dunit-regression2.cpp255 !std::is_constructible<json, std::variant<int, float>>::value, "");
409 …static_assert(!std::is_constructible<json, std::pair<std::string, NotSerializableData>>::value, ""…
410 …static_assert(!std::is_constructible<json, std::pair<NotSerializableData, std::string>>::value, ""…
411 static_assert(std::is_constructible<json, std::pair<int, std::string>>::value, "");
415 …static_assert(!std::is_constructible<json, std::tuple<std::string, NotSerializableData>>::value, "…
416 …static_assert(!std::is_constructible<json, std::tuple<NotSerializableData, std::string>>::value, "…
417 static_assert(std::is_constructible<json, std::tuple<int, std::string>>::value, "");

123456