Boost logo

Boost :

Subject: Re: [boost] Heads up - string_ref landing
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2012-11-15 20:06:58

On Nov 15, 2012, at 3:10 PM, Darren Garvey <darren.garvey_at_[hidden]> wrote:

> On 15 November 2012 19:46, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>> On Thu, Nov 15, 2012 at 1:39 PM, Marshall Clow <mclow.lists_at_[hidden]>
>> wrote:
>>> On Nov 15, 2012, at 11:31 AM, Matus Chochlik <chochlik_at_[hidden]> wrote:
>>>>> The header will be in boost/algorithm/string_ref.hpp, but I welcome discussion about where it should live.
>>>>> Ideally, I think it should be just "boost/string_ref.hpp".
>>>> +1 to boost/string_ref.hpp (it is not an algorithm)
>>> I agree - but it is (will be useful) for string algorithms.
>> -20 ;-) We *really* should stop putting headers in the top level boost dir.


>> The only other obvious place is "boost/utility/string_ref.hpp".
> I agree. The top-level directory is overpopulated. Shouldn't this live in Boost.Container next to string? That library's introduction exactly fits what this is (one of the "latest draft features").

I certainly don't think of a string_ref as a container. It owns no elements. Utility makes a lot of sense to me.


Boost list run by bdawes at, gregod at, cpdaniel at, john at