diff options
Diffstat (limited to 'boost/metaparse/v1/always_c.hpp')
-rw-r--r-- | boost/metaparse/v1/always_c.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/boost/metaparse/v1/always_c.hpp b/boost/metaparse/v1/always_c.hpp new file mode 100644 index 0000000000..4cc06e1169 --- /dev/null +++ b/boost/metaparse/v1/always_c.hpp @@ -0,0 +1,25 @@ +#ifndef BOOST_METAPARSE_V1_ALWAYS_C_HPP +#define BOOST_METAPARSE_V1_ALWAYS_C_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#include <boost/metaparse/v1/always.hpp> +#include <boost/metaparse/v1/lit_c.hpp> + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + template <char C, class Result> + struct always_c : always<lit_c<C>, Result> {}; + } + } +} + +#endif + |