$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [string_ref] [utility] Add string_view?
From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2015-07-06 09:21:33
On Sun, Jul 5, 2015 at 7:34 AM, Beman Dawes <bdawes_at_[hidden]> wrote:
> Boost has shipped string_ref since 1.53. See
> www.boost.org/doc/libs/1_58_0/libs/utility/doc/html/string_ref.html
>
> In the meantime, the C++ committee has shipped a final version, named
> string_view, in the Library Fundamentals TS. See
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4480.html#string.view
>
> In addition to the name change, the interface in the TS more closely mimics
> the std::basic_string interface.
>
> I'd really like to see the final TS basic_string_view added to Boost so I
> can start using it now. Using basic_string_ref, and then later having to
> rename all uses, is less attractive. I suspect others may feel the same
> way.
>
Yes, we do! I already have people at work asking me if I know when this
will be available. I think just about anyone who wants to pass strings in
interfaces can make use of this somehow. The sooner, the better.
Zach