|
Boost : |
From: degski (degski_at_[hidden])
Date: 2020-01-29 11:01:47
On Tue, 28 Jan 2020 at 22:11, Gavin Lambert via Boost <boost_at_[hidden]>
wrote:
> > C++20 introduces std::span, which is a good way of passing around a
> > pointer and size together -- but it's non-owning, so still isn't a
> > solution for the above.
>
The pointer in a std::span does not necessarily point at the beginning of
the object being owned (that's kind of the point).
degski
-- @realdegski https://brave.com/google-gdpr-workaround/ "We value your privacy, click here!" Sod off! - degski "Anyone who believes that exponential growth can go on forever in a finite world is either a madman or an economist" - Kenneth E. Boulding "Growth for the sake of growth is the ideology of the cancer cell" - Edward P. Abbey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk