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)
6 // See http://www.boost.org/libs/config for most recent version.
8 // MACRO: BOOST_NO_INTRINSIC_WCHAR_T
9 // TITLE: intrinsic wchar_t
10 // DESCRIPTION: The C++ implementation does not provide wchar_t,
11 // or it is really a synonym for another integral type.
12 // Use this symbol to decide whether it is appropriate
13 // to explicitly specialize a template on wchar_t if there
14 // is already a specialization for other integer types.
16 #ifndef BOOST_NO_CWCHAR
20 namespace boost_no_intrinsic_wchar_t{
23 struct is_int{ int i; };
25 template <> struct is_int<unsigned char>{ int i; };
26 template <> struct is_int<signed char>{ int i; };
27 template <> struct is_int<char>{ int i; };
28 template <> struct is_int<unsigned short>{ int i; };
29 template <> struct is_int<short>{ int i; };
30 template <> struct is_int<unsigned int>{ int i; };
31 template <> struct is_int<int>{ int i; };
32 template <> struct is_int<unsigned long>{ int i; };
33 template <> struct is_int<long>{ int i; };
34 template <> struct is_int<wchar_t>{ int i; };