From 8d5717081eeaf768e1f671c278a9f10243f7046a Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 18 Nov 2003 03:00:39 +0000 Subject: [PATCH] Factor out any_conversion_eater [SVN r20838] --- include/boost/iterator/is_lvalue_iterator.hpp | 10 +++------- include/boost/iterator/is_readable_iterator.hpp | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/include/boost/iterator/is_lvalue_iterator.hpp b/include/boost/iterator/is_lvalue_iterator.hpp index 9a31322..d77b977 100755 --- a/include/boost/iterator/is_lvalue_iterator.hpp +++ b/include/boost/iterator/is_lvalue_iterator.hpp @@ -8,8 +8,10 @@ #include #include -// should be the last #include #include +#include + +// should be the last #include #include namespace boost { @@ -36,12 +38,6 @@ namespace detail #endif - struct any_conversion_eater - { - template - any_conversion_eater(T const&); - }; - // Guts of is_lvalue_iterator. Value is the iterator's value_type // and the result is computed in the nested rebind template. template diff --git a/include/boost/iterator/is_readable_iterator.hpp b/include/boost/iterator/is_readable_iterator.hpp index 40ab89f..52df758 100755 --- a/include/boost/iterator/is_readable_iterator.hpp +++ b/include/boost/iterator/is_readable_iterator.hpp @@ -7,20 +7,16 @@ #include #include -// should be the last #include #include +#include + +// should be the last #include #include namespace boost { namespace detail { - struct any_conversion_eater - { - template - any_conversion_eater(T const&); - }; - // Guts of is_readable_iterator. Value is the iterator's value_type // and the result is computed in the nested rebind template. template