From 268e70faa185140301651df8bfe1a9b92907c7ba Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 11 Feb 2001 16:06:12 +0000 Subject: [PATCH] Reinstate one of John's fixes [SVN r9113] --- include/boost/counting_iterator.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/counting_iterator.hpp b/include/boost/counting_iterator.hpp index 6dedaef..aacd050 100644 --- a/include/boost/counting_iterator.hpp +++ b/include/boost/counting_iterator.hpp @@ -161,8 +161,9 @@ template struct counting_iterator_traits { private: typedef ::boost::detail::counting_iterator_traits_select<( - detail::is_numeric::value - )>::template traits traits; + ::boost::detail::is_numeric::value + )> binder; + typedef typename binder::template traits traits; public: typedef Incrementable value_type; typedef const Incrementable& reference;