Subject: Re: [boost] [string_ref] [utility] Add string_view?
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2015-07-08 12:54:22
On Wed, Jul 8, 2015 at 9:15 AM, Nevin Liber <nevin_at_[hidden]> wrote:
> On 8 July 2015 at 09:43, Marshall Clow <mclow.lists_at_[hidden]> wrote:
> > >>> I'd really like to see the final TS basic_string_view added to Boost
> > >>> I can start using it now.
> > >>>
> > >>>
> > use a typedef for now; and I'll update the boost implementation post 1.59
> > release.
> You can't use a typedef; it's a template.
> You can use a "using" clause, but that requires C++11 or later.
string_ref is a real type; it's a specialization of basic_string_ref, which
is a template.
typedef basic_string_ref<char, std::char_traits<char> >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk