1 #ifndef BOOST_METAPARSE_V1_UTIL_IS_LETTER_HPP
2 #define BOOST_METAPARSE_V1_UTIL_IS_LETTER_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/metaparse/v1/util/is_ucase_letter.hpp>
10 #include <boost/metaparse/v1/util/is_lcase_letter.hpp>
12 #include <boost/mpl/bool.hpp>
13 #include <boost/mpl/vector.hpp>
23 template <class C = boost::mpl::na>
26 is_lcase_letter<C>::type::value || is_ucase_letter<C>::type::value
31 struct is_letter<boost::mpl::na>
33 typedef is_letter type;
35 template <class C = boost::mpl::na>
36 struct apply : is_letter<C> {};