26 Jan
2020
26 Jan
'20
11:16 a.m.
On Sat, 25 Jan 2020 at 18:27, Christian Mazakas via Boost < boost@lists.boost.org> 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