[Boost-bugs] [Boost C++ Libraries] #10344: Provide [b, e) constructor for string_ref

Subject: [Boost-bugs] [Boost C++ Libraries] #10344: Provide [b, e) constructor for string_ref
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-11 21:16:16


#10344: Provide [b,e) constructor for string_ref
----------------------------------+---------------------------
 Reporter: Richard <legalize@…> | Owner: no-maintainer
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: utility
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
----------------------------------+---------------------------
 It would be nice to be able to construct a string_ref from a begin/end
 pointer pair. I suppose I could use string_ref(begin, end-begin) but it
 just feels a little wonky to have to compute the length all the time.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10344>
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-16 18:50:16 UTC