[PATCH v2 2/2] libstdc++: implement std::generator
Jonathan Wakely
jwakely@redhat.com
Thu Jan 4 10:30:05 GMT 2024
On Thu, 21 Dec 2023 at 21:26, Arsen Arsenović wrote:
> +
> + template<typename _A>
> + concept _Stateless_alloc = (allocator_traits<_A>::is_always_equal::value
> + && default_initializable<_A>);
The _A here is a BADNAME and needs to be more than one letter.
FAIL: 17_intro/badnames.cc -std=gnu++23 (test for excess errors)
Excess errors:
/home/test/src/gcc/libstdc++-v3/testsuite/17_intro/badnames.cc:61:
error: expected nested-name-specifier before '_A'
More information about the Libstdc++
mailing list