Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2008-06-15 13:01:44


Author: ramey
Date: 2008-06-15 13:01:43 EDT (Sun, 15 Jun 2008)
New Revision: 46408
URL: http://svn.boost.org/trac/boost/changeset/46408

Log:
simplified namespace issue with mbstate_t
Text files modified:
   trunk/boost/detail/utf8_codecvt_facet.hpp | 15 ++++-----------
   1 files changed, 4 insertions(+), 11 deletions(-)

Modified: trunk/boost/detail/utf8_codecvt_facet.hpp
==============================================================================
--- trunk/boost/detail/utf8_codecvt_facet.hpp (original)
+++ trunk/boost/detail/utf8_codecvt_facet.hpp 2008-06-15 13:01:43 EDT (Sun, 15 Jun 2008)
@@ -85,17 +85,10 @@
 #include <boost/config.hpp>
 #include <boost/detail/workaround.hpp>
 
-namespace std {
- #if defined(__LIBCOMO__)
- using ::mbstate_t;
- #elif defined(BOOST_DINKUMWARE_STDLIB) && !defined(__BORLANDC__)
- using ::mbstate_t;
- #elif defined(__SGI_STL_PORT)
- #elif defined(BOOST_NO_STDC_NAMESPACE)
- using ::mbstate_t;
- using ::codecvt;
- #endif
-} // namespace std
+#if defined(BOOST_NO_STDC_NAMESPACE)
+ using ::codecvt;
+ using ::mbstate_t;
+#endif
 
 #if !defined(__MSL_CPP__) && !defined(__LIBCOMO__)
     #define BOOST_CODECVT_DO_LENGTH_CONST const


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk