On Sunday, 10 August 2014 at 18:45:00 UTC, Freddy wrote:
Is there any why i can put a opApply outside of a struct scope
No overloaded operators in D can be put outside of a struct or class. They have to be member functions.
- Jonathan M Davis
Jonathan M Davis via Digitalmars-d-learn Sun, 10 Aug 2014 12:00:50 -0700
On Sunday, 10 August 2014 at 18:45:00 UTC, Freddy wrote:
Is there any why i can put a opApply outside of a struct scope
No overloaded operators in D can be put outside of a struct or class. They have to be member functions.
- Jonathan M Davis