Proposal: Hide the int in opApply from the user

Jason House jason.james.house at gmail.com
Mon Jan 7 07:51:18 PST 2008


I think this proposal has one fatal flaw...

There is no way for the opApply function to do something after iteration stops prematurely.  Some data structures could change internal state as they iterate.  Those state changes may require clean-up.  I have no good examples at the moment, but know they exist.



More information about the Digitalmars-d mailing list