opApply outside of struct/class scope

Era Scarecrow via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 10 19:17:30 PDT 2014


On Monday, 11 August 2014 at 02:03:15 UTC, Jonathan M Davis wrote:
> IIRC, opApply doesn't play well with various attributes, but I 
> don't remember the details. That's the only issue with opApply 
> that I'm aware of. It looks like you'll have to go digging into 
> those other threads if you want to know what was supposed to be 
> wrong with it.

  Pretty sure it was the scope keyword rather than opApply. Maybe 
that it didn't play well with out or inout or some combination, 
or const or something...

  
http://forum.dlang.org/thread/mailman.1363.1339173331.24740.digitalmars-d-learn@puremagic.com

  Oh well. Not important enough to keep talking about.


More information about the Digitalmars-d-learn mailing list