Subject: [Boost-bugs] [Boost C++ Libraries] #12859: std::string_view as token
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-20 17:00:10
#12859: std::string_view as token
-------------------------------------------------+-------------------------
Reporter: Johel Ernesto Guerrero Peña | Owner: jsiek
<johelegp@â¦> | Status: new
Type: Feature Requests | Component: tokenizer
Milestone: To Be Determined | Severity:
Version: Boost 1.63.0 | Optimization
Keywords: string_view |
-------------------------------------------------+-------------------------
When I use `std::string_view` as a token for the `tokenizer`, I get an
error because it attempts to construct a `std::string_view` with two
iterators, which it doesn't support.
It'd be very nice to support this efficiency-enhacing type by, perhaphs,
constructing the token from the underlying character array and a size when
two iterators would be ill-formed.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12859> 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-02-20 17:04:29 UTC