Boost logo

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(__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.
#include <locale>

# define LOCAL_BOOST_USE_FACET(Type, loc) std::use_facet< Type >(loc)
# pragma message (" *** Remind to John *** ")
# define LOCAL_BOOST_USE_FACET(Type, loc) BOOST_USE_FACET(Type, loc)

As the local workaround shows

  std::use_facet< Type >(loc)

is fully usable.


Boost list run by bdawes at, gregod at, cpdaniel at, john at