10 Sep
2009
10 Sep
'09
3:16 p.m.
2009/9/10 Hicham Mouline
My iterators are constructed to make them point inside a given container, for that they store a reference to the container. Therefore I cannot provide a default constructor, or can I?
Do I need to change the implementation of the iterator to allow default construction so that I can use lower_bound with it?
The default constructor is expected to give a mostly-useless singular iterator. Changing the reference to a pointer should solve everything.