Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-05-05 23:26:37


David Abrahams wrote:
> Yes indeed. Toon, I think this one's yours to patch.
>

The second 'typename' is not needed -

add_reference< named_template_param_base >::type

is not a dependent name.

--
Aleksey
Bertolt Mildner wrote:
> > i think typename is missing twice in iterator_adaptors.hpp
> >
> > diff -r1.61 iterator_adaptors.hpp
> > 628c628
> > <       enum { value = is_convertible< add_reference< Value >::type,
> add_reference< named_template_param_base >::type >::value };
> > ---
> > >       enum { value = is_convertible< typename add_reference< Value
> >::type, typename add_reference< named_template_param_base >::type
> >::value };

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk