forum.dlang.org is now using DCaptcha

Vladimir Panteleev via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Dec 3 14:39:19 PST 2014


On Wednesday, 3 December 2014 at 21:26:19 UTC, ketmar via 
Digitalmars-d-announce wrote:
> On Wed, 03 Dec 2014 20:22:31 +0000
> Vladimir Panteleev via Digitalmars-d-announce
> <digitalmars-d-announce at puremagic.com> wrote:
>
>> On Wednesday, 3 December 2014 at 20:19:34 UTC, ketmar via 
>> Digitalmars-d-announce wrote:
>> > On Wed, 03 Dec 2014 14:47:09 +0100
>> > Jacob Carlborg via Digitalmars-d-announce
>> > <digitalmars-d-announce at puremagic.com> wrote:
>> >> auto u = new class M {};
>> >> 
>> >> Exactly what is referred to here? The type inference or the 
>> >> anonymous class? The answer is "anonymous class".
>> > besides, it's not "anonymous", it has a name!
>> 
>> The type is anonymous.
> so what that "M" after `class` means then? anonymous with a 
> name,
> that's cool! ;-)

That's the name of the parent class :)


More information about the Digitalmars-d-announce mailing list