diff options
Diffstat (limited to 'boost/spirit/home/x3/char/char.hpp')
-rw-r--r-- | boost/spirit/home/x3/char/char.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/spirit/home/x3/char/char.hpp b/boost/spirit/home/x3/char/char.hpp index 5cfd720152..8cd213a2bc 100644 --- a/boost/spirit/home/x3/char/char.hpp +++ b/boost/spirit/home/x3/char/char.hpp @@ -38,6 +38,7 @@ namespace boost { namespace spirit { namespace x3 using standard::char_; using standard::lit; +#ifndef BOOST_SPIRIT_NO_STANDARD_WIDE namespace standard_wide { typedef any_char<char_encoding::standard_wide> char_type; @@ -49,6 +50,7 @@ namespace boost { namespace spirit { namespace x3 return { ch }; } } +#endif namespace ascii { @@ -103,6 +105,7 @@ namespace boost { namespace spirit { namespace x3 } }; +#ifndef BOOST_SPIRIT_NO_STANDARD_WIDE template <> struct as_parser<wchar_t> { @@ -117,6 +120,7 @@ namespace boost { namespace spirit { namespace x3 return { ch }; } }; +#endif template <> struct as_parser<char [2]> @@ -133,6 +137,7 @@ namespace boost { namespace spirit { namespace x3 } }; +#ifndef BOOST_SPIRIT_NO_STANDARD_WIDE template <> struct as_parser<wchar_t [2]> { @@ -147,6 +152,7 @@ namespace boost { namespace spirit { namespace x3 return { ch[0] }; } }; +#endif } |