| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| allocate_hint.cc | ||
| allocate_hint_nonpod.cc | ||
| construct.cc | ||
| destroy.cc | ||
| is_always_equal.cc | ||
| max_size.cc | ||
| pointers.cc | ||
| rebind_alloc.cc | ||
| select.cc |
PR libstdc++/72792 * include/bits/alloc_traits.h (__allocator_traits_base::__diff_type) (__allocator_traits_base::__size_type): Remove. (allocator_traits::_Ptr): New class template to detect const and void pointer types without instantiating pointer_traits::rebind unnecessarily. (allocator_traits::_Diff): Likewise for detecting difference_type. (allocator_traits::_Size): New class template to detect size_type without instantiating make_unsigned unnecessarily. * include/bits/ptr_traits.h (pointer_traits::element_type): Use __detected_or_t instead of __detected_or_t_. * include/std/type_traits (__detected_or_t_): Remove. * testsuite/20_util/allocator_traits/members/pointers.cc: New test. From-SVN: r244706
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| allocate_hint.cc | Loading commit data... | |
| allocate_hint_nonpod.cc | Loading commit data... | |
| construct.cc | Loading commit data... | |
| destroy.cc | Loading commit data... | |
| is_always_equal.cc | Loading commit data... | |
| max_size.cc | Loading commit data... | |
| pointers.cc | Loading commit data... | |
| rebind_alloc.cc | Loading commit data... | |
| select.cc | Loading commit data... |