[Boost-bugs] [Boost C++ Libraries] #12911: Allow u32regex_match to accept boost::string_view

Subject: [Boost-bugs] [Boost C++ Libraries] #12911: Allow u32regex_match to accept boost::string_view
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-17 19:54:22


#12911: Allow u32regex_match to accept boost::string_view
--------------------------------+--------------------------
 Reporter: dani.user@… | Owner: johnmaddock
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.63.0 | Severity: Optimization
 Keywords: regex, string_view |
--------------------------------+--------------------------
 Boost provides a lot of boost::u32regex_match overloads for various string
 types in regex/icu.hpp.

 It would be nice to also be able to pass a boost::string_view. Passing a
 char pointer from the string_view incurs the overhead of calling strlen()
 which doesn't work on strings that are not null terminated.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12911>
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-17 19:58:02 UTC