10 Sep
2009
10 Sep
'09
2:22 p.m.
2009/9/10 Hicham Mouline
From the docs, I don't see the Iterator argument is required to be default-constructible.
By Table 74 in the standard, all forward iterators are required to be default-constructible. I doubt you want your container iterators to be input iterators, and regardless, lower_bound requires forward iterators.