Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-06-05 13:06:18


At 12:17 PM 6/5/00 -0500, Ed Brey wrote:

> ...
>This should solve the problem:
>
># elif defined _MSC_VER && !defined __ICL
># if _MSC_VER <= 1200 // 1200 == VC++ 6.0
>...
># define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
># define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
>
>/* Make sure at least one standard library header is included so
that
>library implementation detection will work, even if no standard
>headers
>have been included in front of a boost header. */
># include <cstddef>
>
>/* Determine whether the standard library implementation is already
>taking care of pulling names into std. STLport defines the
>following if so. */
># ifndef __STL_IMPORT_VENDOR_CSTD
># define BOOST_NO_STDC_NAMESPACE
># endif
>
># endif
>...
># endif // Microsoft (excluding Intel/EDG frontend)

Changed. Thanks!

>In version 4 beta 6 of STLport, the default is to pull names into
std
>by default, so the above example works even with the line
>__STL_IMPORT_VENDOR_CSTD commented out. The macro name didn't
change
>between STLport version 3 and 4, so the detection in config.hpp
works
>for either version. If/When we reach a point that it can be
>assumed/mandated to use STLport 4 (if using STLport at all, that
is),
>then we could go back to the what Beman had for detecting STLport.
>AFAICT, we'd still need to include at least one header before doing
>the detection, though.

OK.

--Beman


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