Home
last modified time | relevance | path

Searched refs:copyable (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/boost/libs/move/test/
Dmove.cpp101 BOOST_STATIC_ASSERT((boost::has_move_emulation_enabled<copyable>::value == false)); in main()
102 BOOST_STATIC_ASSERT((boost::has_move_emulation_enabled<copyable*>::value == false)); in main()
160 copyable c (factory_wrapper<copyable>(factory<copyable>())); in main()
161 c = factory_wrapper<copyable>(factory<copyable>()); in main()
162 copyable&cr(factory_wrapper<copyable&>(factory<copyable&>())); in main()
163 copyable&cr2 = factory_wrapper<copyable&>(factory<copyable&>()); in main()
Dadl_move_swap.cpp65 class copyable : public swap_stats class
68 copyable() {} in copyable() function in copyable
69 copyable(const copyable &) { ++copy_cnstor_calls; } in copyable() argument
70 copyable & operator=(const copyable&) { ++copy_assign_calls; return *this; } in operator =() argument
71 void swap(copyable &) { ++member_swap_calls; } in swap() argument
72 friend void swap(copyable &, copyable &) { ++friend_swap_calls; } in swap() argument
141 copyable x, y; in main()
/third_party/boost/libs/parameter/test/literate/
Dexercising-the-code-so-far0.cpp9 BOOST_PARAMETER_TEMPLATE_KEYWORD(copyable)
54 , boost::parameter::optional<tag::copyable>
87 args, tag::copyable, void
88 >::type copyable; typedef
105 , boost::python::copyable<boost::noncopyable>
149 boost::is_same<c1::copyable,boost::noncopyable> in MPL_TEST_CASE()
187 boost::is_same<c2::copyable,void> in MPL_TEST_CASE()
Ddeduced-template-parameters0.cpp9 BOOST_PARAMETER_TEMPLATE_KEYWORD(copyable)
82 boost::parameter::deduced<tag::copyable>
117 args,boost::python::tag::copyable,void
118 >::type copyable; typedef
170 boost::is_same<c1::copyable,boost::noncopyable> in MPL_TEST_CASE()
208 boost::is_same<c2::copyable,void> in MPL_TEST_CASE()
Dtemplate-keywords0.cpp9 BOOST_PARAMETER_TEMPLATE_KEYWORD(copyable)
/third_party/boost/libs/move/example/
Ddoc_move_return.cpp61 copyable c = lock_wrapper(factory_functor<copyable> ()); in main()
Dcopymovable.hpp47 class copyable class
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
Doptional.h245 enum class copy_traits { copyable = 0, movable = 1, non_movable = 2 }; enumerator
252 class optional_ctor_base<copy_traits::copyable> {
286 class optional_assign_base<copy_traits::copyable> {
319 ? copy_traits::copyable
328 ? copy_traits::copyable
/third_party/abseil-cpp/absl/types/internal/
Doptional.h245 enum class copy_traits { copyable = 0, movable = 1, non_movable = 2 }; enumerator
252 class optional_ctor_base<copy_traits::copyable> {
286 class optional_assign_base<copy_traits::copyable> {
319 ? copy_traits::copyable
328 ? copy_traits::copyable
/third_party/boost/libs/move/doc/
Dmove.qbk95 [section:implementing_movable_classes Implementing copyable and movable classes]
232 * `unique_ptr` (non-shared, non-copyable ownership)
236 By making such types movable (though still non-copyable) their utility is tremendously
237 increased. Movable but non-copyable types can be returned by value from factory functions:
251 To write a movable but not copyable type in portable syntax, you need to follow these simple steps:
267 /but non-copyable types. For example the following code sorts a `vector<unique_ptr<T>>`
294 Movable but non-copyable types can be safely inserted into containers and
295 movable and copyable types are more efficiently handled if those containers
373 movable-only `movable` class with classes `copyable` (copy-only type), `copy_movable` (can be copie…
374 `non_copy_movable` (non-copyable and non-movable):
[all …]
/third_party/boost/libs/thread/doc/
Demulations.qbk128 * `BOOST_THREAD_NO_COPYABLE` declares a class no-copyable either deleting the copy constructors and…
136 This macro marks a class as no copyable, disabling copy construction and assignment.
148copyable, disabling copy construction and assignment. The user will need to write a move construct…
154 …ks a type as copyable and movable. The user will need to write a move constructor/assignment and a…
/third_party/boost/libs/fiber/test/
Dtest_fiber_dispatch.cpp30 class copyable { class
35 copyable() : in copyable() function in copyable
40 copyable( int v) : in copyable() function in copyable
187 copyable cp( 3); in test_join_copyable()
Dtest_fiber_post.cpp30 class copyable { class
35 copyable() : in copyable() function in copyable
40 copyable( int v) : in copyable() function in copyable
187 copyable cp( 3); in test_join_copyable()
/third_party/boost/libs/outcome/doc/src/content/experimental/
Ddifferences.md17 you like, including non-trivially-copyable, move-only, complex etc types.
23 3. If your domain defines a payload type which is trivially copyable or
26 trivially copyable or move relocating type. This permits global headers
Dstatus_result.md39 is trivially copyable or move relocating. This means that you can return a
59 Outcome configuration) usually compiles fine when `result` and `outcome` are copyable
/third_party/boost/libs/coroutine/test/
Dtest_asymmetric_coroutine.cpp46 class copyable class
51 copyable() : in copyable() function in copyable
55 copyable( int) : in copyable() function in copyable
230 copyable cp( 3); in test_move()
Dtest_symmetric_coroutine.cpp122 class copyable class
127 copyable() : in copyable() function in copyable
131 copyable( int) : in copyable() function in copyable
295 copyable cp( 3); in test_move()
/third_party/boost/libs/coroutine2/test/
Dtest_coroutine.cpp42 class copyable class
47 copyable() : in copyable() function in copyable
51 copyable( int) : in copyable() function in copyable
254 copyable cp( 3); in test_move()
/third_party/boost/libs/outcome/doc/src/content/tutorial/essential/result/
D_index.md23 … are [trivially copyable](https://en.cppreference.com/w/cpp/named_req/TriviallyCopyable), `result<…
/third_party/boost/libs/beast/doc/qbk/07_concepts/
DBody.qbk37 If this is not movable or not copyable, the containing message
38 will be not movable or not copyable.
/third_party/boost/libs/optional/doc/
D21_ref_none.qbk25 …ate overloads of from `optional`'s interface. It is an empty, trivially copyable class with disabl…
/third_party/boost/libs/type_traits/doc/
Dis_trivially_copyable.qbk16 __inherit If T is a (possibly cv-qualified) type that is trivially copyable
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/runtime/
Dszrt_asan.c243 size_t copyable = (size < old_size) ? size : old_size; in __asan_realloc() local
244 memcpy(new_alloc, ptr, copyable); in __asan_realloc()
/third_party/boost/libs/outcome/doc/src/content/reference/functions/hooks/
Doverride_outcome_exception.md13 non-copyable and non-moveable).
/third_party/boost/libs/outcome/doc/src/content/tutorial/advanced/constructors/
D_index.md20 The technique described here is not suitable for non-copyable and non-movable

1234