* include/bits/alloc_traits.h (__is_allocator, _RequireAllocator): New trait and alias for detecting Allocator-like types. * include/bits/basic_string.h (basic_string): Add deduction guide from P0433. * include/ext/alloc_traits.h (__gnu_cxx::__alloc_traits): Add template parameter with default template argument that causes substitution failures for types that cannot be allocators. * testsuite/21_strings/basic_string/cons/char/deduction.cc: New. * testsuite/21_strings/basic_string/cons/wchar_t/deduction.cc: New. From-SVN: r248967
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| allocator | Loading commit data... | |
| capacity | Loading commit data... | |
| cons | Loading commit data... | |
| element_access | Loading commit data... | |
| inserters_extractors | Loading commit data... | |
| literals | Loading commit data... | |
| modifiers | Loading commit data... | |
| numeric_conversions | Loading commit data... | |
| operations | Loading commit data... | |
| operators | Loading commit data... | |
| range_access | Loading commit data... | |
| requirements | Loading commit data... | |
| types | Loading commit data... | |
| 40160.cc | Loading commit data... | |
| 56166.cc | Loading commit data... | |
| init-list.cc | Loading commit data... | |
| lwg2758.cc | Loading commit data... | |
| pthread18185.cc | Loading commit data... | |
| pthread33394.cc | Loading commit data... | |
| pthread4.cc | Loading commit data... |