template syntax

bauss jj_1337 at live.dk
Thu Jan 31 13:13:29 UTC 2019


On Thursday, 31 January 2019 at 01:30:36 UTC, Arun Chandrasekaran 
wrote:
> 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 ;-)

I can't wait! ;)


More information about the Digitalmars-d mailing list