I'm making the following patch, which describes a new configuration macro. Is there some documentation I should update as well?
Index: boost/config/suffix.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/config/suffix.hpp,v retrieving revision 1.18 diff -w -u -r1.18 suffix.hpp --- boost/config/suffix.hpp 13 Aug 2002 11:50:26 -0000 1.18 +++ boost/config/suffix.hpp 7 Nov 2002 01:09:12 -0000 @@ -313,6 +313,23 @@ # define BOOST_NESTED_TEMPLATE #endif +// BOOST_DEDUCED_TYPENAME workaround ------------------------------------------// +// +// Some compilers don't support the use of `typename' for dependent +// types in deduced contexts, e.g. +// +// template <class T> void f(T, typename T::type); +// ^^^^^^^^ +// Replace these declarations with: +// +// template <class T> void f(T, BOOST_DEDUCED_TYPENAME T::type); + +#ifndef BOOST_NO_DEDUCED_TYPENAME +# define BOOST_DEDUCED_TYPENAME typename +#else +# define BOOST_DEDUCED_TYPENAME +#endif + // ---------------------------------------------------------------------------// // Thanks, Dave -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost