MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / concurrent_vector

Function concurrent_vector

benchmarks/tbb/concurrent_vector.h:648–653  ·  view source on GitHub ↗

Move constructor TODO add __TBB_NOEXCEPT(true) and static_assert(std::has_nothrow_move_constructor ::value)

Source from the content-addressed store, hash-verified

646 //! Move constructor
647 //TODO add __TBB_NOEXCEPT(true) and static_assert(std::has_nothrow_move_constructor<A>::value)
648 concurrent_vector( concurrent_vector&& source)
649 : internal::allocator_base<T, A>(std::move(source)), internal::concurrent_vector_base()
650 {
651 vector_allocator_ptr = &internal_allocator;
652 concurrent_vector_base_v3::internal_swap(source);
653 }
654
655 concurrent_vector( concurrent_vector&& source, const allocator_type& a)
656 : internal::allocator_base<T, A>(a), internal::concurrent_vector_base()

Callers

nothing calls this directly

Calls 4

moveFunction · 0.85
allocator_typeClass · 0.85
internal_assign_rangeFunction · 0.85
max_sizeFunction · 0.70

Tested by

no test coverage detected