Boost logo

Boost :

From: support-1_at_[hidden]
Date: 2002-03-26 22:39:43


I've attached a suggested version for
"boost/config/compiler/visualc.hpp"
 
There are 2 changes
 
a) It adds some logic to make sure
BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
is defined in VC7 when /Za is used. Thanks to Jason for confirming this
is a bug (fixed in 7.1) and the rather obvious fact that the macro
_MSC_EXTENSIONS can be used to detect this configuration
 
b) It moves the definition of NOMINMAX so it is only made for VC6 where
is is required. There seems to be no reason to poluted the namepace with
this definition unless it is required
 
A third point that could be changed. Does anyone know why the line
//# define BOOST_NO_POINTER_TO_MEMBER_CONST
is in the header? A commented out definition is really very confusing.
Is there any case when this definition is required?
 
Michael Stevens
Senior Research Engineer
( Tel: +61 2 93512075 4 Fax: +61 2 93517474
Australian Centre for Field Robotics
Rose Street Building J04
The University of Sydney NSW, 2006
Australia
 






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