|
Boost : |
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2020-01-24 12:27:53
Christian wrote:
> I'm not sure of a clean way of folding in this kind of storage
optimization or what the general interface would look like.
dynamic_array<T, A> could be dynamic_value<T[], A>
Then you can distinguish between:
dynamic_value<T[], A> // runtime size, stores size
dynamic_value<T[N], A> // no need to store size
Glen
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk