Boost logo

Boost Users :

Subject: [Boost-users] composite iterator_adaptor
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2010-08-06 08:37:04


the snippet below doesn't compile due to a missing constructor. Changes
to const std::string doesn't compile too. Is this intentionally or
misuse it? How to fix it?

Here the error from from clang:

 /opt/clang/bin/clang++ -I
/home/olaf/Projects/programming/cpp/boost/trunk/ iterator_composite.cpp
-o iterator_composite
iterator_composite.cpp:70:36: error: no matching constructor for
initialization of 'client::default_input_iterator' (aka
basic_iterator_type::value_type>, basic_iterator_type>')
    client::default_input_iterator first( rng.begin() );
                                   ^ ~~~~~~~~~~~


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at