Using arrays with functions taking ranges

Mu invalid_email at address.int
Fri Dec 14 02:20:37 PST 2012


Thank you for your suggestion, bearophile.
I ended up checking if the range is empty, and if it was, I'd 
increment it as elements were added.

Honestly, I much dislike this method.
It does not feel right. The C++ version is more consistent 
because of the iterators.

Please, if anyone has a better approach, share it.
http://pastebin.com/MRB5L44M

Thank you.


More information about the Digitalmars-d-learn mailing list