diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:24:46 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:25:39 +0900 |
commit | 4fadd968fa12130524c8380f33fcfe25d4de79e5 (patch) | |
tree | fd26a490cd15388d42fc6652b3c5c13012e7f93e /boost/spirit/home/x3/string/literal_string.hpp | |
parent | b5c87084afaef42b2d058f68091be31988a6a874 (diff) | |
download | boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.gz boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.bz2 boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.zip |
Imported Upstream version 1.65.0upstream/1.65.0
Change-Id: Icf8400b375482cb11bcf77440a6934ba360d6ba4
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/spirit/home/x3/string/literal_string.hpp')
-rw-r--r-- | boost/spirit/home/x3/string/literal_string.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/spirit/home/x3/string/literal_string.hpp b/boost/spirit/home/x3/string/literal_string.hpp index 5066fe18a9..486dc807b3 100644 --- a/boost/spirit/home/x3/string/literal_string.hpp +++ b/boost/spirit/home/x3/string/literal_string.hpp @@ -77,6 +77,7 @@ namespace boost { namespace spirit { namespace x3 } } +#ifndef BOOST_SPIRIT_NO_STANDARD_WIDE namespace standard_wide { inline literal_string<wchar_t const*, char_encoding::standard_wide> @@ -103,6 +104,7 @@ namespace boost { namespace spirit { namespace x3 return { s }; } } +#endif namespace ascii { @@ -162,8 +164,10 @@ namespace boost { namespace spirit { namespace x3 using standard::string; using standard::lit; +#ifndef BOOST_SPIRIT_NO_STANDARD_WIDE using standard_wide::string; using standard_wide::lit; +#endif namespace extension { @@ -185,6 +189,7 @@ namespace boost { namespace spirit { namespace x3 template <int N> struct as_parser<char const[N]> : as_parser<char[N]> {}; +#ifndef BOOST_SPIRIT_NO_STANDARD_WIDE template <int N> struct as_parser<wchar_t[N]> { @@ -202,6 +207,7 @@ namespace boost { namespace spirit { namespace x3 template <int N> struct as_parser<wchar_t const[N]> : as_parser<wchar_t[N]> {}; +#endif template <> struct as_parser<char const*> |