]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/convert/include/boost/convert/detail/char.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / convert / include / boost / convert / detail / char.hpp
CommitLineData
7c673cae
FG
1// Copyright (c) 2009-2016 Vladimir Batov.
2// Use, modification and distribution are subject to the Boost Software License,
3// Version 1.0. See http://www.boost.org/LICENSE_1_0.txt.
4
5#ifndef BOOST_CONVERT_DETAIL_IS_CHAR_HPP
6#define BOOST_CONVERT_DETAIL_IS_CHAR_HPP
7
8#include <boost/mpl/bool.hpp>
9#include <boost/type_traits/remove_const.hpp>
10
11namespace boost { namespace cnv
12{
13 namespace detail
14 {
15 template<typename T> struct is_char : mpl::false_ {};
16 template<> struct is_char<char> : mpl:: true_ {};
17 template<> struct is_char<wchar_t> : mpl:: true_ {};
18 }
19 template <typename T> struct is_char : detail::is_char<typename remove_const<T>::type> {};
20}}
21
22#endif // BOOST_CONVERT_DETAIL_IS_CHAR_HPP
23