
17 Dec
2010
17 Dec
'10
11:26 p.m.
On Fri, Dec 17, 2010 at 1:17 PM, Michel MORIN <mimomorin@gmail.com> wrote:
I just wanted to say it is important to fix boost/range/begin.hpp (end.hpp) so that the following code does compile.
#include <boost/range/iterator_range.hpp> int main(int argc, char* argv[]) { int ar[2] = {2, 2}; boost::iterator_range<int*> rng(ar, ar + 2); for (int i : rng) {} // error: ambiguous calls return 0; }
+1 to that, brother! -- Dave Abrahams BoostPro Computing http://www.boostpro.com