Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-14 16:54:37


----- Original Message -----
From: "rogeeff" <rogeeff_at_[hidden]>

>
> int main()
> {
> std::list<A*> lst;
>
> // ... populate lst
>
> typedef
> boost::indirect_iterator_generator<std::list<A*>::iterator,A>
> generator;
>
> generator::type it = lst.begin();

generator::type it(lst.begin());

>
> it->foo();
>
> return 0;
> }
>
> I can't compile this example.

Next time, please give the reader some clue by posting at least one of the
error messages ;-)

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk