Error instantiating std.container.Array

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 2 11:06:27 PST 2015


On 03/02/2015 07:14 AM, Francesco Cattoglio wrote:
> On Monday, 2 March 2015 at 15:01:55 UTC, Tobias Pankrath wrote:
>>> I'm really clueless... :P
>>
>> Something is wrong with your Material class, but you'll need to show
>> us a reduced example.
>
> After a really long time I finally found what was wrong.
>
> http://dpaste.dzfl.pl/16d202b7124d
>
> Wow, I honestly could have NEVER foreseen this.
> This is all it takes for a class being unusable in a std.container.Array
> class MyClass
> {
>      void init();
> }

Existing issue:

   https://issues.dlang.org/show_bug.cgi?id=12545

Ali



More information about the Digitalmars-d-learn mailing list