boost::one_many_converter
// In header: <boost/iterator/convert_iterator.hpp> template<typename OneManyConverter> struct one_many_converter { // public member functions template<typename In, typename Out> Out ltr(In &, In, Out); template<typename In, typename Out> Out rtl(In, In &, Out); };