BackRefInsertIterator is probably broken and may not be needed at all.
{
using namespace boost;
transform(rhs.techniques.begin(), rhs.techniques.end(),
- backRefInsertIterator(techniques),
+ back_inserter(techniques),
bind(simgear::clone_ref<Technique>, _1, copyop));
}
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
+#include <iterator>
#include <vector>
#include <string>
using namespace std;
using namespace boost;
transform(rhs.passes.begin(), rhs.passes.end(),
- backRefInsertIterator(passes),
+ back_inserter(passes),
bind(simgear::clone_ref<Pass>, _1, copyop));
}