• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//  (C) Copyright Beman Dawes 2009
2
3//  Use, modification and distribution are subject to the
4//  Boost Software License, Version 1.0. (See accompanying file
5//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7//  See http://www.boost.org/libs/config for more information.
8
9//  MACRO:         BOOST_NO_CXX11_HDR_CODECVT
10//  TITLE:         C++0x header <codecvt> unavailable
11//  DESCRIPTION:   The standard library does not supply C++0x header <codecvt>
12
13#include <codecvt>
14#include <locale> // for wstring_convert
15
16namespace boost_no_cxx11_hdr_codecvt {
17
18int test()
19{
20  using std::codecvt_utf8;
21  using std::codecvt_utf16;
22  using std::codecvt_utf8_utf16;
23#ifndef BOOST_NO_CXX11_CHAR16_T
24  std::wstring_convert<std::codecvt_utf8<char16_t>, char16_t> test;
25#endif
26  return 0;
27}
28
29}
30