Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50549 - trunk/libs/serialization/test
From: ramey_at_[hidden]
Date: 2009-01-12 01:25:48


Author: ramey
Date: 2009-01-12 01:25:48 EST (Mon, 12 Jan 2009)
New Revision: 50549
URL: http://svn.boost.org/trac/boost/changeset/50549

Log:
include wcslen and w_int in global namespace

Text files modified:
   trunk/libs/serialization/test/test_utf8_codecvt.cpp | 9 ++++-----
   1 files changed, 4 insertions(+), 5 deletions(-)

Modified: trunk/libs/serialization/test/test_utf8_codecvt.cpp
==============================================================================
--- trunk/libs/serialization/test/test_utf8_codecvt.cpp (original)
+++ trunk/libs/serialization/test/test_utf8_codecvt.cpp 2009-01-12 01:25:48 EST (Mon, 12 Jan 2009)
@@ -15,18 +15,17 @@
 #include <string>
 
 #include <cstddef> // size_t
+#include <cwchar>
 #include <boost/config.hpp>
+
 #if defined(BOOST_NO_STDC_NAMESPACE)
 namespace std{
     using ::size_t;
+ using ::wcslen;
+ using ::w_int;
 } // namespace std
 #endif
 
-#include <cwchar>
-#ifdef BOOST_NO_STDC_NAMESPACE
-namespace std{ using ::wcslen; }
-#endif
-
 #include "test_tools.hpp"
 #include <boost/archive/iterators/istream_iterator.hpp>
 #include <boost/archive/iterators/ostream_iterator.hpp>


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