Home
last modified time | relevance | path

Searched refs:old_cap (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/libs/container/example/
Ddoc_custom_small_vector.cpp38 const std::size_t old_cap = growth_50_vector.capacity(); in main() local
39 growth_50_vector.resize(old_cap); in main()
43 assert(growth_50_vector.capacity() == old_cap*3/2); in main()
Ddoc_custom_vector.cpp45 const std::size_t old_cap = growth_50_vector.capacity(); in main() local
46 growth_50_vector.resize(old_cap); in main()
50 assert(growth_50_vector.capacity() == old_cap*3/2); in main()
/third_party/boost/boost/container/
Dvector.hpp2351 size_type const old_cap = this->m_holder.capacity(); in priv_merge_in_new_buffer() local
2353 if (old_cap > 0) { in priv_merge_in_new_buffer()
2354 this->m_holder.deallocate(old_p, old_cap); in priv_merge_in_new_buffer()