|
Boost : |
From: degski (degski_at_[hidden])
Date: 2020-01-26 11:16:15
On Sat, 25 Jan 2020 at 18:27, Christian Mazakas via Boost <
boost_at_[hidden]> wrote:
> Different classes for different usages. If a user needs just a pointer and
> a size, allocate_unique
> is perfect.
... and std::span, also perfect, [
https://en.cppreference.com/w/cpp/container/span] does the rest:
https://github.com/tcbrindle/span .
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