2 Jul
2010
2 Jul
'10
2:17 a.m.
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: http://stackoverflow.com/questions/3154276/boostiterator-facade-and-stdfind Any help appreciated. Cheers, -james