Home
last modified time | relevance | path

Searched refs:is_copy_assignable (Results 1 – 25 of 72) sorted by relevance

123

/third_party/boost/libs/type_traits/test/
Dis_copy_assignable_test.cpp78 TT_TEST_BEGIN(is_copy_assignable)
81 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has>::value, true);
82 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has2>::value, true);
83 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has3>::value, true);
84 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has_not>::value, false);
86 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has_not2>::value, false);
87 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has_not3>::value, false);
88 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has_not6>::value, false);
90 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has_not4>::value, false);
93 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::is_copy_assignable<has_not5>::value, false);
[all …]
/third_party/boost/boost/type_traits/
Dis_copy_assignable.hpp130 template <class T> struct is_copy_assignable : public integral_constant<bool, ::boost::detail::is_c… struct
131 template <> struct is_copy_assignable<void> : public false_type{}; struct
133 template <> struct is_copy_assignable<void const> : public false_type{}; struct
134 template <> struct is_copy_assignable<void const volatile> : public false_type{}; struct
135 template <> struct is_copy_assignable<void volatile> : public false_type{}; struct
/third_party/boost/libs/type_traits/doc/
Dis_copy_assignable.qbk9 [section:is_copy_assignable is_copy_assignable]
12 struct is_copy_assignable : public __tof {};
31 boost/type_traits/is_copy_assignable.hpp:68:5: error: within this context
47 __header ` #include <boost/type_traits/is_copy_assignable.hpp>` or ` #include <boost/type_traits.hp…
/third_party/boost/libs/move/test/
Dtype_traits.cpp77 BOOST_STATIC_ASSERT(!(boost::move_detail::is_copy_assignable<boost_move_type>::value)); in test()
82 BOOST_STATIC_ASSERT((boost::move_detail::is_copy_assignable<int>::value)); in test()
87 BOOST_STATIC_ASSERT((boost::move_detail::is_copy_assignable<pod_struct>::value)); in test()
/third_party/boost/libs/variant2/test/
Dvariant_special.cpp91 …BOOST_TEST_EQ( std::is_copy_assignable<variant<U>>::value, std::is_copy_constructible<U>::value &&… in operator ()()
92 …nt<U>>::value, std::is_nothrow_copy_constructible<U>::value && std::is_copy_assignable<U>::value ); in operator ()()
Dvariant_copy_assign.cpp188 BOOST_TEST_TRAIT_TRUE((std::is_copy_assignable<variant<X1, X2>>)); in main()
189 BOOST_TEST_TRAIT_FALSE((std::is_copy_assignable<variant<int const>>)); in main()
190 BOOST_TEST_TRAIT_FALSE((std::is_copy_assignable<variant<int, float, Y>>)); in main()
/third_party/boost/boost/thread/concurrent_queues/
Ddeque_base.hpp147 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
155 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
159 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
Dqueue_base.hpp147 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
155 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
159 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
Ddeque_adaptor.hpp155 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
163 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
167 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
Dqueue_adaptor.hpp155 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
163 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
167 bool Copyable = std::is_copy_constructible<T>::value && std::is_copy_assignable<T>::value,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
Dtype_traits.h120 struct is_copy_assignable {
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
/third_party/boost/libs/type_traits/test/compile_fail/
Dis_copy_assignable_fail.cpp12 return boost::is_copy_assignable<incomplete_type>::value; in main()
/third_party/abseil-cpp/absl/meta/
Dtype_traits.h178 using is_copy_assignable = std::is_copy_assignable<T>;
186 struct is_copy_assignable : type_traits_internal::is_detected<
487 absl::is_copy_assignable<T>::value> {
525 absl::is_copy_assignable<ExtentsRemoved>::value ||
664 static_assert(absl::is_copy_assignable<std::hash<Key>>::value,
/third_party/boost/libs/mp11/test/
Dmp_all.cpp18 …1 = mp_all<std::is_same<V, void>, std::is_copy_constructible<T>..., std::is_copy_assignable<T>...>;
19 …is_same<V, void>, mp_all<std::is_copy_constructible<T>..., mp_all<std::is_copy_assignable<T>...>>>;
/third_party/skia/third_party/externals/abseil-cpp/absl/meta/
Dtype_traits.h178 using is_copy_assignable = std::is_copy_assignable<T>;
186 struct is_copy_assignable : type_traits_internal::is_detected<
487 absl::is_copy_assignable<T>::value> {
546 absl::is_copy_assignable<ExtentsRemoved>::value ||
699 static_assert(absl::is_copy_assignable<std::hash<Key>>::value,
/third_party/abseil-cpp/absl/random/internal/
Dranden_test.cc33 static_assert(absl::is_copy_assignable<Randen>::value, in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dranden_test.cc33 static_assert(absl::is_copy_assignable<Randen>::value, in TEST()
/third_party/boost/libs/outcome/test/tests/
Dexperimental-core-result-status.cpp280 static_assert(!std::is_copy_assignable<decltype(a)>::value, "");
297 static_assert(!std::is_copy_assignable<decltype(d)>::value, "");
314 static_assert(!std::is_copy_assignable<decltype(e)>::value, "");
Dcore-result.cpp293 static_assert(std::is_copy_assignable<decltype(a)>::value, "");
313 static_assert(std::is_copy_assignable<decltype(d)>::value, "");
330 static_assert(!std::is_copy_assignable<decltype(e)>::value, "");
/third_party/boost/libs/dll/test/
Dcpp_import_class_test.cpp64 BOOST_TEST(!cl.is_copy_assignable()); in main()
/third_party/json/include/nlohmann/detail/meta/
Dtype_traits.hpp219 std::is_copy_assignable<ConstructibleObjectType>::value) &&
314 std::is_copy_assignable<ConstructibleArrayType>::value)&&
/third_party/boost/boost/hana/
Dtraits.hpp99 constexpr auto is_copy_assignable = detail::hana_trait<std::is_copy_assignable>{};
/third_party/boost/libs/poly_collection/test/
Dtest_utilities.hpp107 using std::is_copy_assignable;
112 !std::is_copy_assignable<T>::value
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Doptional_test.cc617 EXPECT_FALSE(absl::is_copy_assignable<absl::optional<const int>>::value); in TEST()
618 EXPECT_TRUE(absl::is_copy_assignable<absl::optional<Copyable>>::value); in TEST()
619 EXPECT_FALSE(absl::is_copy_assignable<absl::optional<MoveableThrow>>::value); in TEST()
621 absl::is_copy_assignable<absl::optional<MoveableNoThrow>>::value); in TEST()
622 EXPECT_FALSE(absl::is_copy_assignable<absl::optional<NonMovable>>::value); in TEST()
636 EXPECT_FALSE(absl::is_copy_assignable<const Trivial>::value); in TEST()
637 EXPECT_FALSE(absl::is_copy_assignable<volatile Trivial>::value); in TEST()
638 EXPECT_TRUE(absl::is_copy_assignable<NonTrivial>::value); in TEST()
1629 EXPECT_TRUE(absl::is_copy_assignable<absl::optional<AnyLike>>::value); in TEST()
/third_party/abseil-cpp/absl/types/
Doptional_test.cc617 EXPECT_FALSE(absl::is_copy_assignable<absl::optional<const int>>::value); in TEST()
618 EXPECT_TRUE(absl::is_copy_assignable<absl::optional<Copyable>>::value); in TEST()
619 EXPECT_FALSE(absl::is_copy_assignable<absl::optional<MoveableThrow>>::value); in TEST()
621 absl::is_copy_assignable<absl::optional<MoveableNoThrow>>::value); in TEST()
622 EXPECT_FALSE(absl::is_copy_assignable<absl::optional<NonMovable>>::value); in TEST()
636 EXPECT_FALSE(absl::is_copy_assignable<const Trivial>::value); in TEST()
637 EXPECT_FALSE(absl::is_copy_assignable<volatile Trivial>::value); in TEST()
638 EXPECT_TRUE(absl::is_copy_assignable<NonTrivial>::value); in TEST()
1629 EXPECT_TRUE(absl::is_copy_assignable<absl::optional<AnyLike>>::value); in TEST()

123