From: John Maddock (jm_at_[hidden])
Date: 2003-04-11 05:39:49
> VC++ 6.0 has problems with function templates whose template
> parameters don't appear in the function parameter list. Example:
> The bug is well-known and documented
> and affects, at least, the code in the dynamic_bitset tests and the
> code in cast.hpp.
> What about adding a suitable workaround macro to the config? For
We currently have BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS which is set
for that defect - though it's not really well named.
> #define BOOST_DUMMY_DEFAULT_ARGUMENT(t) t* = 0
Not a bad idea if you want to add it to config/suffix.hpp:
# define BOOST_DUMMY_DEFAULT_ARGUMENT(t)
# define BOOST_DUMMY_DEFAULT_ARGUMENT(t) t* = 0
As long as the authors of those libraries are prepared to use it and make
the necessary changes...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk