Boost logo

Boost :

Subject: Re: [boost] Constructing string_ref from rvalue string
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2017-03-23 11:59:05


On 23 Mar 2017 7:02 am, "Jonathan Müller via Boost" <boost_at_[hidden]>
wrote:

I've just blogged about this topic: http://foonathan.net/blog/2017
/03/22/string_view-temporary.html
(Planned that post before this thread)

In my opinion I think `boost::string_ref` and `std::string_view` are two
different things,

They're not. They were always supposed to be the same thing.

There is a lot of code out there that uses std::string_view and
boost::string_ref interchangeably depending on which is available.


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