Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2022-05-13 18:18:24


Marshall Clow wrote:
> On May 13, 2022, at 10:42 AM, David Bien via Boost <boost_at_[hidden]>
> wrote:
> >
> > I guess when I read the impl I think to myself: What this is missing is a
> _length member. But then it just becomes boost::string_view.
> >
> > What value added is there to this impl except that it is smaller than
> boost::string_view due to lacking a _length member?
>
> If you’re careful and don’t do much with it, it can hand you back a null
> terminated string.

???

In what scenarios will it not give you a null-terminated string?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk