Reinstate one of John's fixes

[SVN r9113]
This commit is contained in:
Dave Abrahams
2001-02-11 16:06:12 +00:00
parent 170b44763d
commit 268e70faa1

View File

@ -161,8 +161,9 @@ template <class Incrementable>
struct counting_iterator_traits { struct counting_iterator_traits {
private: private:
typedef ::boost::detail::counting_iterator_traits_select<( typedef ::boost::detail::counting_iterator_traits_select<(
detail::is_numeric<Incrementable>::value ::boost::detail::is_numeric<Incrementable>::value
)>::template traits<Incrementable> traits; )> binder;
typedef typename binder::template traits<Incrementable> traits;
public: public:
typedef Incrementable value_type; typedef Incrementable value_type;
typedef const Incrementable& reference; typedef const Incrementable& reference;