Home
last modified time | relevance | path

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

/llvm-project/libcxx/test/std/strings/basic.string/string.nonmembers/string_op+/
H A Dallocator_propagation.pass.cpp19 class soccc_allocator { class
26 constexpr explicit soccc_allocator(int* soccc_count_, int self_coccc_count_ = 0) in soccc_allocator() function in soccc_allocator
30 constexpr soccc_allocator(const soccc_allocator<U>& a) : soccc_count(a.get_soccc()) {} in soccc_allocator() function in soccc_allocator
35 constexpr soccc_allocator select_on_container_copy_construction() const { in select_on_container_copy_construction()
37 return soccc_allocator(soccc_count, self_soccc_count + 1); in select_on_container_copy_construction()
48 constexpr bool operator==(const soccc_allocator<U>& that) const { in operator ==()
55 using S = std::basic_string<CharT, std::char_traits<CharT>, soccc_allocator<CharT>>; in test()
59 S lhs(soccc_allocator<CharT>{&soccc_lhs}); in test()
60 S rhs(soccc_allocator<CharT>{&soccc_rhs}); in test()
70 S lhs(soccc_allocator<CharT>{&soccc_lhs}); in test()
[all …]