Lines Matching refs:other

139     concurrent_queue& operator=( const concurrent_queue& other ) {
141 if (my_queue_representation != other.my_queue_representation) {
143 my_allocator = other.my_allocator;
144 …my_queue_representation->assign(*other.my_queue_representation, my_allocator, copy_construct_item);
149 concurrent_queue& operator=( concurrent_queue&& other ) {
151 if (my_queue_representation != other.my_queue_representation) {
153 if (my_allocator == other.my_allocator) {
154 internal_swap(other);
156 …my_queue_representation->assign(*other.my_queue_representation, other.my_allocator, move_construct…
157 other.clear();
158 my_allocator = std::move(other.my_allocator);
180 void swap ( concurrent_queue& other ) { in swap() argument
182 __TBB_ASSERT(my_allocator == other.my_allocator, "unequal allocators"); in swap()
183 internal_swap(other); in swap()
418 concurrent_bounded_queue& operator=( const concurrent_bounded_queue& other ) {
420 if (my_queue_representation != other.my_queue_representation) {
422 my_allocator = other.my_allocator;
423 …my_queue_representation->assign(*other.my_queue_representation, my_allocator, copy_construct_item);
428 concurrent_bounded_queue& operator=( concurrent_bounded_queue&& other ) {
430 if (my_queue_representation != other.my_queue_representation) {
432 if (my_allocator == other.my_allocator) {
433 internal_swap(other);
435 …my_queue_representation->assign(*other.my_queue_representation, other.my_allocator, move_construct…
436 other.clear();
437 my_allocator = std::move(other.my_allocator);
459 void swap ( concurrent_bounded_queue& other ) { in swap() argument
461 __TBB_ASSERT(my_allocator == other.my_allocator, "unequal allocators"); in swap()
462 internal_swap(other); in swap()