template syntax

bauss jj_1337 at live.dk
Fri Feb 1 11:26:57 UTC 2019


On Thursday, 31 January 2019 at 17:31:02 UTC, H. S. Teoh wrote:
> On Thu, Jan 31, 2019 at 01:13:29PM +0000, bauss via 
> Digitalmars-d wrote:
>> 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! ;)
>
> One of these days I'm gonna hafta pull an IODCC entry... Like 
> the monstrosity I recently posted in bauss's thread. :-D
>
>
> T

Please make my dream come true


More information about the Digitalmars-d mailing list