Opened 8 years ago

#10344 new Feature Requests

Provide [b,e) constructor for string_ref

Reported by: Richard <legalize@…> Owned by: No-Maintainer
Milestone: To Be Determined Component: utility
Version: Boost 1.56.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.