|
Boost Users : |
Subject: Re: [Boost-users] transform_iterator requirement on the Iterator?
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2009-09-10 10:22:44
2009/9/10 Hicham Mouline <hicham_at_[hidden]>:
>
> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net