1// (C) Copyright John Maddock 2001. 2// Use, modification and distribution are subject to the 3// Boost Software License, Version 1.0. (See accompanying file 4// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 5 6// See http://www.boost.org/libs/config for most recent version. 7 8// MACRO: BOOST_NO_STD_WSTRING 9// TITLE: std::wstring 10// DESCRIPTION: The standard library lacks std::wstring. 11 12#include <string> 13 14namespace boost_no_std_wstring{ 15 16int test() 17{ 18 std::wstring s; 19 if(*s.c_str() || (s.begin() != s.end()) || s.size() || (sizeof(std::wstring::value_type) != sizeof(wchar_t))) return -1; 20 return 0; 21} 22 23} 24 25 26 27 28 29