Boost logo

Boost Users :

Subject: Re: [Boost-users] composite iterator_adaptor
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2010-08-07 14:57:11


> 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?

int main()
{
    std::string rng;

    client::basic_input_iterator<char>::basic_iterator_type lower_first(
rng.begin() );
    client::basic_input_iterator<char>::type first( lower_first );

...

how to write it as convenient single liner?

Thanks
Olaf


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