Home
last modified time | relevance | path

Searched refs:min_cap (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/libcxx/test/std/strings/basic.string/string.capacity/
Dreserve.pass.cpp24 test(typename S::size_type min_cap, typename S::size_type erased_index) in test() argument
26 S s(min_cap, 'a'); in test()
29 assert(s.capacity() >= min_cap); // Check that we really have at least this capacity. in test()
Dreserve_size.pass.cpp33 test(typename S::size_type min_cap, typename S::size_type erased_index, typename S::size_type res_a… in test() argument
35 S s(min_cap, 'a'); in test()
38 assert(s.capacity() >= min_cap); // Check that we really have at least this capacity. in test()