|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63819 - sandbox/SOC/2010/bit_masks/lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-07-10 12:40:00
Author: bbartman
Date: 2010-07-10 12:39:59 EDT (Sat, 10 Jul 2010)
New Revision: 63819
URL: http://svn.boost.org/trac/boost/changeset/63819
Log:
fixing wchar support issue for cygwin
Text files modified:
sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp | 5 -----
sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp | 3 +++
2 files changed, 3 insertions(+), 5 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp 2010-07-10 12:39:59 EDT (Sat, 10 Jul 2010)
@@ -56,11 +56,6 @@
void operator()(U) {
test_function<U>();
}
- void operator() (wchar_t)
- {
- using namespace std;
- cout << "can't use wchar_t" << endl;
- }
};
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/test_type_list.hpp 2010-07-10 12:39:59 EDT (Sat, 10 Jul 2010)
@@ -20,6 +20,7 @@
// boost includes
+#include <boost/config.hpp>
#include <boost/assert.hpp>
#include <boost/detail/lightweight_test.hpp>
#include <boost/cstdint.hpp>
@@ -51,7 +52,9 @@
typedef boost::mpl::list<
// char16_t,
// char32_t,
+#ifndef BOOST_NO_CWCHAR
wchar_t,
+#endif
std::ptrdiff_t,
std::size_t//,
// std::max_align_t,
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