[PATCH v2 2/2] libstdc++: implement std::generator

Jonathan Wakely jwakely@redhat.com
Thu Jan 4 12:57:31 GMT 2024


On Thu, 4 Jan 2024 at 12:01, Arsen Arsenović <arsen@aarsen.me> wrote:
>
>
> Jonathan Wakely <jwakely@redhat.com> writes:
>
> > 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'
>
> Ah - my bad, will fix, and push along with that typo fix that Will
> Hawkins mentioned.

Thanks (and thanks, Will).



More information about the Libstdc++ mailing list