template syntax

Walter Bright newshound2 at digitalmars.com
Thu Jan 31 01:11:07 UTC 2019


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 < > ?


More information about the Digitalmars-d mailing list