Boost logo

Boost :

Subject: Re: [boost] Removal of boost::basic_string_ref (in favor of basic_string_view)
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2016-02-24 15:44:32


On Wed, Feb 17, 2016 at 1:22 PM, Bjorn Reese <breese_at_[hidden]>
wrote:

> On 02/17/2016 08:52 PM, Marshall Clow wrote:
>
>> I have just removed boost::basic_string_ref from the develop branch, and
>> updated the specializations to use basic_string_view.
>>
>
> I am against this decision. I am using basic_string_ref<> quite heavily
> in several projects that have work with Boost 1.55 and newer.
>
>
Tell people you're going to change something, and everyone yawns.
Actually change it, and boom!

Anyway, I've been persuaded that replacing w/o a transition period is not
the best way to go.
K-ballo showed me that there are a lot more uses than I thought:

https://github.com/search?l=cpp&q=%22boost%3A%3Abasic_string_ref%22&ref=searchresults&type=Code&utf8=%e2%9c%93
<https://github.com/search?l=cpp&q=%22boost%3A%3Abasic_string_ref%22&ref=searchresults&type=Code&utf8=%E2%9C%93>

So, I will restore basic_string_ref for to the 1.61 and 1.62 releases, and
plan on remove it for 1.63.

-- Marshall


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