| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| backward | ||
| bits | ||
| c | ||
| c_compatibility | ||
| c_global | ||
| c_std | ||
| debug | ||
| decimal | ||
| experimental | ||
| ext | ||
| parallel | ||
| precompiled | ||
| profile | ||
| pstl | ||
| std | ||
| tr1 | ||
| tr2 | ||
| Makefile.am | ||
| Makefile.in |
The 20_util/scoped_allocator/69293_neg.cc test was failing in C++2a mode because the expected static_assert text wasn't matched. The code is still ill-formed in C++2a, but uses the new __uses_alloc_args function and so fails a different static_assert. This patch adds the same string to the new static_assert, so the test passes. Now that G++ allows concepts to be declared without 'bool' we can use the correct C++2a syntax for the _Std_pair concept used to constrain the uses-allocator construction utilities. Also add a new test to verify that pmr::polymorphic_allocator correctly performs recursive uses-allocator construction for nested pairs in C++2a. * include/std/memory (__uses_alloc_args): Add string-literal to static_assert, to match the one in __uses_alloc. [__cpp_concepts] (_Std_pair): Use C++2a syntax for concept. * testsuite/20_util/polymorphic_allocator/construct_c++2a.cc: Check for recursive uses-allocator construction of nested pairs. * testsuite/20_util/scoped_allocator/construct_pair_c++2a.cc:: Add comment. From-SVN: r270600
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| backward | Loading commit data... | |
| bits | Loading commit data... | |
| c | Loading commit data... | |
| c_compatibility | Loading commit data... | |
| c_global | Loading commit data... | |
| c_std | Loading commit data... | |
| debug | Loading commit data... | |
| decimal | Loading commit data... | |
| experimental | Loading commit data... | |
| ext | Loading commit data... | |
| parallel | Loading commit data... | |
| precompiled | Loading commit data... | |
| profile | Loading commit data... | |
| pstl | Loading commit data... | |
| std | Loading commit data... | |
| tr1 | Loading commit data... | |
| tr2 | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... |