Searched refs:old_cap (Results 1 – 7 of 7) sorted by relevance
27 typename S::size_type old_cap = s.capacity(); in test() local32 assert(s.capacity() <= old_cap); in test()40 typename S::size_type old_cap = s.capacity(); in test() local41 ((void)old_cap); // Prevent unused warning in test()50 assert(s.capacity() >= old_cap); // resize never shrinks as of P0966 in test()
24 typename S::size_type old_cap = s.capacity(); in test() local29 assert(s.capacity() <= old_cap); in test()
28 typename S::size_type old_cap = s.capacity(); in test() local30 assert(s.capacity() == old_cap); in test()32 assert(s.capacity() < old_cap); in test()
44 size_t old_cap = v.capacity(); in main() local48 assert(v.capacity() == old_cap); in main()
31 typename S::size_type old_cap = s.capacity(); in test() local36 assert(s.capacity() <= old_cap); in test()
23 typename S::size_type old_cap = s.capacity(); in test() local28 assert(s.capacity() <= old_cap); in test()
41 typename S::size_type old_cap = s.capacity(); in test() local52 assert(s.capacity() >= old_cap); // reserve never shrinks as of P0966 (C++20) in test()