44 reallocate_metadata(null_node_update_pointer, size_type)
48 template<
typename Node_Update_>
51 reallocate_metadata(Node_Update_* , size_type new_size)
53 metadata_pointer a_new_metadata_vec =(new_size == 0) ? 0 : s_metadata_alloc.allocate(new_size);
55 if (m_a_metadata != 0)
57 for (size_type i = 0; i < m_size; ++i)
58 m_a_metadata[i].~metadata_type();
59 s_metadata_alloc.deallocate(m_a_metadata, m_size);
61 std::swap(m_a_metadata, a_new_metadata_vec);
void swap(function< _Res(_Args...)> &__x, function< _Res(_Args...)> &__y)
Swap the targets of two polymorphic function object wrappers.