Commit Terje's changes

[SVN r17979]
This commit is contained in:
Dave Abrahams
2003-03-18 22:34:32 +00:00
parent ae7d610cb1
commit 52de514faf

View File

@@ -18,7 +18,7 @@
#include <typeinfo> #include <typeinfo>
#include <boost/config.hpp> #include <boost/config.hpp>
#include <boost/limits.hpp> #include <boost/limits.hpp>
#include <boost/type_traits.hpp> #include <boost/type_traits/is_pointer.hpp>
#ifdef BOOST_NO_STRINGSTREAM #ifdef BOOST_NO_STRINGSTREAM
#include <strstream> #include <strstream>
@@ -28,10 +28,15 @@
#if defined(BOOST_NO_STRINGSTREAM) || \ #if defined(BOOST_NO_STRINGSTREAM) || \
defined(BOOST_NO_STD_WSTRING) || \ defined(BOOST_NO_STD_WSTRING) || \
defined(BOOST_NO_INTRINSIC_WCHAR_T) defined(BOOST_NO_STD_LOCALE) || \
defined(BOOST_NO_CWCHAR)
#define DISABLE_WIDE_CHAR_SUPPORT #define DISABLE_WIDE_CHAR_SUPPORT
#endif #endif
#ifdef BOOST_NO_INTRINSIC_WCHAR_T
#include <cwchar>
#endif
namespace boost namespace boost
{ {
// exception used to indicate runtime lexical_cast failure // exception used to indicate runtime lexical_cast failure
@@ -169,6 +174,8 @@ namespace boost
#if defined(BOOST_NO_STRINGSTREAM) #if defined(BOOST_NO_STRINGSTREAM)
std::strstream stream; std::strstream stream;
#elif defined(BOOST_NO_STD_LOCALE)
std::stringstream stream;
#else #else
std::basic_stringstream<char_type> stream; std::basic_stringstream<char_type> stream;
#endif #endif