Boost logo

Boost Users :

Subject: [Boost-users] boost::iterator_facade and std::find
From: James Kyle (boost_at_[hidden])
Date: 2010-07-01 22:17:20

I'm having some issues with boost::iterator_facade iterators and the
std::find template. I've reproduced the error using the example code from
the boost documentation (the linked list tutorial). The only difference
between this implementation and the one provided is a dereference value of
Value* instead of Value&.

The template error seems to indicate find is looking for a reference as the
value argument. I've written up a full explanation with error output and a
compilable example program with a main() that tests the find method here:

Any help appreciated.



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