|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2003-05-02 11:58:10
Taken verbatim from the main dynamic_bitset header (actually the
pragma message is only in my own copy, you won't see it in the cvs
;-)):
#if defined (_STLP_OWN_IOSTREAMS) && !defined(__SGI_STL_OWN_IOSTREAMS)
&& \
defined(__STL_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE)
&& !defined(__BORLANDC__)
// This is a local workaround for what I think is a bug
// in boost/config/stdlib/stlport.hpp: with MSVC+STLport
// the macro BOOST_NO_STD_LOCALE gets erroneously defined
// (due to a spurious check of __SGI_STL_OWN_IOSTREAMS);
// this causes the subsequent code in suffix.hpp to fail
// to provide a definition for BOOST_USE_FACET.
//
# define LOCAL_FACET_CONFIG_BUG
#include <locale>
# define LOCAL_BOOST_USE_FACET(Type, loc) std::use_facet< Type >(loc)
# pragma message (" *** Remind to John *** ")
#else
# define LOCAL_BOOST_USE_FACET(Type, loc) BOOST_USE_FACET(Type, loc)
#endif
As the local workaround shows
std::use_facet< Type >(loc)
is fully usable.
Genny.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk