Subject: [Boost-bugs] [Boost C++ Libraries] #12906: Add support for string_view
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-15 14:00:38
#12906: Add support for string_view
-----------------------------------+---------------------
Reporter: andysem | Owner: djowel
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.63.0 | Severity: Problem
Keywords: spirit qi string_view |
-----------------------------------+---------------------
Please, add native support for attributes of type `boost::string_view`
(and possibly `std::string_view`) to Boost.Spirit.Qi. I think, the best
way to do this is to add a new directive, `as_string_view` (and
`as_wstring_view`) which could be used similarly to `as_string`
(`as_wstring`) but produce a `boost::string_view` (`boost::wstring_view`)
value instead of `std::string` (`std::wstring`). Obviously, the directive
would only be usable if the character iterator type is a pointer, but that
is likely the most typical case anyway.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12906> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-03-15 14:09:41 UTC