From ba32745e808e96f5d9034fda4d933d60655861c0 Mon Sep 17 00:00:00 2001 From: morinmorin Date: Wed, 6 Sep 2017 19:50:15 +0900 Subject: [PATCH] Replace ugly `BOOST_DEDUCED_TYPENAME` with `typename`. --- include/boost/iterator/function_input_iterator.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/iterator/function_input_iterator.hpp b/include/boost/iterator/function_input_iterator.hpp index 2c78278..f4035e6 100644 --- a/include/boost/iterator/function_input_iterator.hpp +++ b/include/boost/iterator/function_input_iterator.hpp @@ -31,9 +31,9 @@ namespace iterators { class function_input_iterator : public iterator_facade< function_input_iterator, - BOOST_DEDUCED_TYPENAME result_of::type, + typename result_of::type, single_pass_traversal_tag, - BOOST_DEDUCED_TYPENAME result_of::type const & + typename result_of::type const & > { public: @@ -49,7 +49,7 @@ namespace iterators { ++state; } - BOOST_DEDUCED_TYPENAME result_of::type const & + typename result_of::type const & dereference() const { return (value ? value : value = (*f)()).get(); } @@ -61,7 +61,7 @@ namespace iterators { private: Function * f; Input state; - mutable optional::type> value; + mutable optional::type> value; }; template