On Fri, 24 Jan 2020 at 02:45, Alexander Grund via Boost < boost@lists.boost.org> wrote:
Bonus points: template<typename T, size_t N> using heap_static_array = std::unique_ptr<std::array<T, N>>;
Extra bonus points: template<typename T, size_t N> using heap_static_vector = std::unique_ptr<std::static_vector<T, N>>; degski Note to self: std::static_vector<T, N> could be the base of a fully dynamic stack-allocated deque. -- @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