Searched refs:old_cap (Results 1 – 5 of 5) sorted by relevance
40 typename S::size_type old_cap = s.capacity(); in test() local42 assert(s.capacity() == old_cap); in test()45 assert(s.capacity() < old_cap); in test()51 typename S::size_type old_cap = s.capacity(); in test() local53 assert(s.capacity() == old_cap); in test()56 assert(s.capacity() == old_cap); in test()62 typename S::size_type old_cap = s.capacity(); in test() local64 assert(s.capacity() == old_cap); in test()67 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()
34 typename S::size_type old_cap = s.capacity(); in test() local45 assert(s.capacity() >= old_cap); // reserve never shrinks as of P0966 (C++20) in test()