template syntax

Arun Chandrasekaran aruncxy at gmail.com
Thu Jan 31 01:30:36 UTC 2019


On Wed, Jan 30, 2019 at 5:15 PM Walter Bright via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
>
> On 1/30/2019 4:08 PM, Andrei Alexandrescu wrote:
> > Don't forget "typename" and "::template", beautifully combined here:
> >
> > typedef typename Allocator::template rebind<Mapped>::other mapped_type_allocator;
>
> It is indeed beautiful. Want to write a DIP to switch to < > ?

Bauss will win another worst code contest if this DIP gets approved ;-)


More information about the Digitalmars-d mailing list