Date: 2002-03-24 20:22:18
I'm trying to resolve an issue with VC7 and latest
In theory VC7 (_MSC_VER == 1300) support dependent types in template
However there seems to be one cavet to this. When the compiles /Za
(Disable Language Extensions)
option is enabled this support seems to be disabled!!!
The following test code fails with /Za but is accepted with /Ze
template<class MLCG1, typename MLCG1::result_type val>
Given this is true should visual.hpp be changed so that
BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS is again defined
I ask this because there seems to be no way that the header file can
automatically detect this compiler setting in C++. The macro __STDC__
is defined when compileing a C file but not when compiling C++.
Any suggestions on the best way to proceed??
Senior Research Engineer, Australian Centre for Field Robotics
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk