This allows for expressions like it[n]->foo() and (*it[n]).foo() to compile.
boost/function_output_iterator.hpp