Home
last modified time | relevance | path

Searched refs:movable (Results 1 – 25 of 66) sorted by relevance

123

/third_party/boost/libs/move/test/
Dmove.cpp18 movable function(movable m) in function()
20 return movable(boost::move(m)); in function()
23 movable functionr(BOOST_RV_REF(movable) m) in functionr()
25 return movable(boost::move(m)); in functionr()
28 movable function2(movable m) in function2()
33 BOOST_RV_REF(movable) function2r(BOOST_RV_REF(movable) m) in function2r()
38 movable move_return_function2 () in move_return_function2()
40 return movable(); in move_return_function2()
43 movable move_return_function () in move_return_function()
45 movable m; in move_return_function()
[all …]
Dmove_if_noexcept.cpp83 movable function(movable m) in function()
85 return movable(boost::move_if_noexcept(m)); in function()
103 movable functionr(BOOST_RV_REF(movable) m) in functionr()
105 return movable(boost::move_if_noexcept(m)); in functionr()
108 movable function2(movable m) in function2()
113 BOOST_RV_REF(movable) function2r(BOOST_RV_REF(movable) m) in function2r()
118 movable move_return_function2 () in move_return_function2()
120 return movable(); in move_return_function2()
123 movable move_return_function () in move_return_function()
125 movable m; in move_return_function()
[all …]
Dconstruct_forward.cpp58 movable create_movable() in create_movable()
59 { return movable(); } in create_movable()
70 movable m; in catch_test()
71 const movable constm; in catch_test()
72 catch_test<movable>(boost::move(m)); in catch_test()
74 catch_test<movable>(create_movable()); in catch_test()
76 catch_test<movable>(m); in catch_test()
77 catch_test<movable>(constm); in catch_test()
102 movable m; in forward_test()
103 function_construct<movable>(boost::move(m)); in forward_test()
Dadl_move_swap.cpp44 class movable : public swap_stats class
46 BOOST_MOVABLE_BUT_NOT_COPYABLE(movable)
48 movable() {} in movable() function in movable
49 movable(BOOST_RV_REF(movable)) { ++move_cnstor_calls; } in movable() argument
50 movable & operator=(BOOST_RV_REF(movable)){ ++move_assign_calls; return *this; } in operator =() argument
51 friend void swap(movable &, movable &) { ++friend_swap_calls; } in swap() argument
91 movable x, y; in main()
Dback_move_inserter.cpp68 if(move_test< bc::vector<movable> >()){ in main()
71 if(move_test< bc::list<movable> >()){ in main()
74 if(move_test< bc::stable_vector<movable> >()){ in main()
Dmove_algorithm.cpp20 bc::vector<movable> v(10); in main()
21 bc::vector<movable> v2(10); in main()
Dmove_iterator.cpp21 bc::vector<movable> v(10); in main()
27 bc::vector<movable> v2 in main()
/third_party/boost/libs/context/test/
Dtest_invoke.cpp41 struct movable { struct
44 movable() = default; argument
46 movable( int k_) : in movable() function
50 movable( movable const&) = delete;
51 movable & operator=( movable const&) = delete;
53 movable( movable && other) : in movable() argument
58 movable & operator=( movable && other) { in operator =() argument
158 movable m( 5); in test5()
159 int result = ctx::detail::invoke( fn5< movable >, 1, std::move( m) ); in test5()
182 int result = ctx::detail::invoke( movable{}, 1, 2); in test7()
[all …]
Dtest_apply.cpp41 struct movable { struct
44 movable() = default; argument
46 movable( int k_) : in movable() argument
50 movable( movable const&) = delete;
51 movable & operator=( movable const&) = delete;
53 movable( movable && other) : in movable() argument
58 movable & operator=( movable && other) { in operator =() argument
94 int fn6( int i, movable && m) { in fn6()
160 movable m( 5); in test5()
184 movable m; in test7()
[all …]
/third_party/boost/libs/move/example/
Dmovable.hpp22 class movable class
24 BOOST_MOVABLE_BUT_NOT_COPYABLE(movable)
28 movable() : value_(1){} in movable() function in movable
31 movable(BOOST_RV_REF(movable) m) in movable() function in movable
34 movable & operator=(BOOST_RV_REF(movable) m) in operator =()
47 struct has_nothrow_move<movable>
Ddoc_move_algorithms.cpp23 movable movable_array[ArraySize]; in main()
24 movable movable_array2[ArraySize]; in main()
36 boost::aligned_storage< sizeof(movable)*ArraySize in main()
37 , boost::alignment_of<movable>::value>::type storage; in main()
38 movable *raw_movable = static_cast<movable*>(static_cast<void*>(&storage)); in main()
Ddoc_move_iterator.cpp22 vector<movable> v(10); in main()
26 vector<movable> v2( boost::make_move_iterator(v.begin()) in main()
Ddoc_move_return.cpp59 movable m = lock_wrapper(factory_functor<movable> ()); in main()
Ddoc_move_inserter.cpp22 typedef list<movable> list_t;
29 list<movable> l(10); in test_move_inserter()
/third_party/boost/libs/unordered/test/objects/
Dtest.hpp20 class movable;
28 movable generate(movable const*, random_generator);
78 class movable : private counted_object class
85 BOOST_COPYABLE_AND_MOVABLE(movable)
87 explicit movable(int t1 = 0, int t2 = 0) : tag1_(t1), tag2_(t2) {} in movable() function in test::movable
89 movable(movable const& x) in movable() function in test::movable
95 movable(BOOST_RV_REF(movable) x) in movable() function in test::movable
103 movable& operator=(BOOST_COPY_ASSIGN_REF(movable) x) // Copy assignment in operator =()
111 movable& operator=(BOOST_RV_REF(movable) x) // Move assignment in operator =()
121 ~movable() in ~movable()
[all …]
/third_party/boost/libs/geometry/index/test/
Dmovable.hpp19 class movable class
21 BOOST_MOVABLE_BUT_NOT_COPYABLE(movable)
25 movable() : value_(1){} in movable() function in movable
28 movable(BOOST_RV_REF(movable) m) in movable() function in movable
31 movable & operator=(BOOST_RV_REF(movable) m) in operator =()
78 struct has_nothrow_move<movable>
/third_party/boost/libs/unordered/test/unordered/
Dmerge_tests.cpp231 boost::unordered_set<test::movable, test::hash, test::equal_to,
232 std::allocator<test::movable> >* test_set_std_alloc;
233 boost::unordered_multiset<test::movable, test::hash, test::equal_to,
234 std::allocator<test::movable> >* test_multiset_std_alloc;
246 boost::unordered_map<test::movable, test::movable, test::hash, test::equal_to,
247 test::allocator2<test::movable> >* test_map;
248 boost::unordered_multimap<test::movable, test::movable, test::hash,
249 test::equal_to, test::allocator2<test::movable> >* test_multimap;
Drehash_tests.cpp198 boost::unordered_map<test::movable, test::movable, test::hash, test::equal_to,
199 test::allocator2<test::movable> >* test_map_ptr;
/third_party/boost/libs/move/doc/
Dmove.qbk21 [important To be able to use containers of movable-only values in C++03 mode you will need to use c…
95 [section:implementing_movable_classes Implementing copyable and movable classes]
99 [section:copyable_and_movable_cpp0x Copyable and movable classes in C++0x]
177 [section:copyable_and_movable_cpp03 Copyable and movable classes in portable syntax for both C++03 …
230 Some types are not amenable to copy semantics but can still be made movable. For example:
236 By making such types movable (though still non-copyable) their utility is tremendously
251 To write a movable but not copyable type in portable syntax, you need to follow these simple steps:
266 /implementation described above), but also allows these algorithms to operate on movable
295 movable and copyable types are more efficiently handled if those containers
348 //Even if movable can't be copied
[all …]
/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
262 class optional_ctor_base<copy_traits::movable> {
296 class optional_assign_base<copy_traits::movable> {
320 : std::is_move_constructible<T>::value ? copy_traits::movable
331 ? copy_traits::movable
/third_party/abseil-cpp/absl/types/internal/
Doptional.h245 enum class copy_traits { copyable = 0, movable = 1, non_movable = 2 }; enumerator
262 class optional_ctor_base<copy_traits::movable> {
296 class optional_assign_base<copy_traits::movable> {
320 : std::is_move_constructible<T>::value ? copy_traits::movable
331 ? copy_traits::movable
/third_party/skia/third_party/externals/freetype/src/base/
Dftstroke.c318 FT_Bool movable; /* TRUE for ends of lineto borders */ member
419 border->movable = FALSE; in ft_stroke_border_close()
426 FT_Bool movable ) in ft_stroke_border_lineto() argument
433 if ( border->movable ) in ft_stroke_border_lineto()
460 border->movable = movable; in ft_stroke_border_lineto()
491 border->movable = FALSE; in ft_stroke_border_conicto()
526 border->movable = FALSE; in ft_stroke_border_cubicto()
603 border->movable = FALSE; in ft_stroke_border_moveto()
903 border->movable = FALSE; in ft_stroker_arcto()
990 if ( !border->movable || line_length == 0 || in ft_stroker_inside()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftstroke.c319 FT_Bool movable; /* TRUE for ends of lineto borders */ member
420 border->movable = FALSE; in ft_stroke_border_close()
427 FT_Bool movable ) in ft_stroke_border_lineto() argument
434 if ( border->movable ) in ft_stroke_border_lineto()
461 border->movable = movable; in ft_stroke_border_lineto()
492 border->movable = FALSE; in ft_stroke_border_conicto()
527 border->movable = FALSE; in ft_stroke_border_cubicto()
615 border->movable = FALSE; in ft_stroke_border_moveto()
915 border->movable = FALSE; in ft_stroker_arcto()
1016 if ( !border->movable || line_length == 0 || in ft_stroker_inside()
[all …]
/third_party/freetype/src/base/
Dftstroke.c318 FT_Bool movable; /* TRUE for ends of lineto borders */ member
419 border->movable = FALSE; in ft_stroke_border_close()
426 FT_Bool movable ) in ft_stroke_border_lineto() argument
433 if ( border->movable ) in ft_stroke_border_lineto()
460 border->movable = movable; in ft_stroke_border_lineto()
491 border->movable = FALSE; in ft_stroke_border_conicto()
526 border->movable = FALSE; in ft_stroke_border_cubicto()
603 border->movable = FALSE; in ft_stroke_border_moveto()
903 border->movable = FALSE; in ft_stroker_arcto()
989 if ( !border->movable || line_length == 0 || in ft_stroker_inside()
[all …]
/third_party/boost/libs/thread/doc/
Demulations.qbk62 [section:movable Movable emulation]
142 This macro marks a class as movable, declaring all the implicit conversions to an rvalue-reference.
148movable but not copyable, disabling copy construction and assignment. The user will need to write …
154 …copyable and movable. The user will need to write a move constructor/assignment and a copy assignm…

123