Op 5-5-2013 20:52, Richard Heck schreef:

Suppose I wanted to use Boost's indirect_iterator. Can I just add the relevant file to the boost/boost/iterator directory, or is there something else to do?

Richard

I'm not a huge fan of adding more boost stuff into LyX.

Reading the documentation of indirect_iterator, it looks like it only adds an extra operator*(). Why wouldn't we just want to use (*it)->.... instead ?

But to answer your question. You need to add the "#include <boost/iterator/indirect_iterator.hpp <http://www.boost.org/doc/libs/1_53_0/boost/iterator/indirect_iterator.hpp>> " to boost/extract.sh and run the script to pick up the extra boost headers we need.

Vincent


  • LyX and Boost Richard Heck
    • Re: LyX and Boost Vincent van Ravesteijn

Reply via email to