41#ifdef PB_DS_CLASS_C_DEC
46reallocate_metadata(null_node_update_pointer, size_type)
50template<
typename Node_Update_>
53reallocate_metadata(Node_Update_* , size_type new_size)
55 metadata_pointer a_new_metadata_vec =(new_size == 0) ? 0 : s_metadata_alloc.allocate(new_size);
57 if (m_a_metadata != 0)
59 for (size_type i = 0; i < m_size; ++i)
60 m_a_metadata[i].~metadata_type();
61 s_metadata_alloc.deallocate(m_a_metadata, m_size);
63 std::swap(m_a_metadata, a_new_metadata_vec);
void swap(any &__x, any &__y) noexcept
Exchange the states of two any objects.