opApply outside of struct/class scope
Era Scarecrow via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Aug 10 12:01:17 PDT 2014
On Sunday, 10 August 2014 at 18:58:50 UTC, Jonathan M Davis wrote:
> No overloaded operators in D can be put outside of a struct or
> class. They have to be member functions.
If I remember right, opApply was somewhat broken and only worked
correctly in a few cases. But that was 18 months ago, a lot could
have happened...
More information about the Digitalmars-d-learn
mailing list