1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add weed parser: char_("character-sets")

This commit is contained in:
bolero-MURAKAMI 2013-05-22 06:49:10 +09:00
parent ab096d442c
commit a77fd5ffef
4 changed files with 183 additions and 1 deletions

View file

@ -5,12 +5,15 @@
#include <sprout/config.hpp>
#include <sprout/string.hpp>
#include <sprout/type_traits/identity.hpp>
#include <sprout/type/void.hpp>
namespace sprout {
namespace weed {
namespace detail {
template<typename T>
struct c_str_as_string;
struct c_str_as_string
: public sprout::identity<sprout::types::void_>
{};
template<typename T>
struct c_str_as_string<T const>
: public sprout::weed::detail::c_str_as_string<T>