Boost logo

Boost :

Subject: Re: [boost] [system] Would it be possible to trial a breaking change to Boost.System and see what happens?
From: Roberto Hinz (robhz786_at_[hidden])
Date: 2018-01-15 21:37:36


On Mon, Jan 15, 2018 at 7:19 PM, Niall Douglas via Boost <
boost_at_[hidden]> wrote:

> > Incidentally, have you measured the inclusion time of <string_view>?
>
> It's approximately three times faster than <string>.

​
'std::string_view' depends on 'std::char_traits' which is defined in
<string>
So in order to use 'std::string_view' member functions, isn't it necessary
to include <string> ?

roberto


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