Boost logo

Boost :

Subject: Re: [boost] [string_ref] [utility] Add string_view?
From: Nevin Liber (nevin_at_[hidden])
Date: 2015-07-08 12:15:59


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 so
> >>> 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.

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404

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