D hackers requested. Dancing around postblit.

IgorStepanov via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 5 12:35:56 PST 2014


On Wednesday, 5 November 2014 at 20:33:40 UTC, Adam D. Ruppe 
wrote:
> On Wednesday, 5 November 2014 at 20:19:03 UTC, IgorStepanov 
> wrote:
>> data[i].__postblit(); //error: S hasn't __postblit member, but 
>> it need the postblit call for Sx
>
> Hmm, we could perhaps do a recursive call with 
> __traits(allMembers) and if it has a __postblit.

Good point. I'll try it. Thanks.


More information about the Digitalmars-d mailing list