diff --git a/include/boost/iterator/transform_iterator.hpp b/include/boost/iterator/transform_iterator.hpp index 67356ff..2281df8 100644 --- a/include/boost/iterator/transform_iterator.hpp +++ b/include/boost/iterator/transform_iterator.hpp @@ -47,7 +47,11 @@ namespace iterators { // the function. typedef typename ia_dflt_help< Reference +#ifdef BOOST_RESULT_OF_USE_TR1 , result_of::reference)> +#else + , result_of::reference)> +#endif >::type reference; // To get the default for Value: remove any reference on the