Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-02-03 20:43:09


Beman Dawes wrote:
>At 10:50 AM 2/3/2004, Marshall Clow wrote:
>
> >I've noticed that a bunch of the gcc tests (Mac OS, Linux, Windows)
> >have many, many warnings, and they're all the same:
> >...
> >So I tried adding "typename" in two spots. In the MacOS testing, it
> >changed 30+ tests from "Warn" to "Pass". Here's the change:
> >
> >diff -r1.23 token_functions.hpp
> >304c304
> >< tokenizer_detail::get_iterator_category<
> >---
> >> typename
> >>tokenizer_detail::get_iterator_category<
> >396c396
> >< tokenizer_detail::get_iterator_category<
> >---
> >> typename
> >>tokenizer_detail::get_iterator_category<
>
>VC++ 6.0 fails with the added "typename", so it has to be placed in #if ...
>#endif. But, yes, the change does clear a lot of gcc warnings. The change
>seems so innocuous I went ahead and committed it to the CVS HEAD.

Doesn't BOOST_DEDUCED_TYPENAME fix the compatibility with VC++ 6?

Regards,
Reece

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today!
http://www.msn.co.uk/messenger


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