How to define an interator to provide array like behaviour in a class?

Jacob Carlborg doob at me.com
Tue Oct 16 23:58:33 PDT 2012


On 2012-10-17 08:17, Jonathan M Davis wrote:

> For starters, iterating over the container would empty it.

Right, but that is really weird, in my opinion.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list