Boost logo

Boost :

From: degski (degski_at_[hidden])
Date: 2020-01-23 13:36:46


On Thu, 23 Jan 2020 at 07:33, degski <degski_at_[hidden]> wrote:

> On Thu, 23 Jan 2020 at 04:05, Richard Hodges via Boost <
> boost_at_[hidden]> wrote:
>
>> On Thu, 23 Jan 2020 at 05:04, Christian Mazakas via Boost <
>> boost_at_[hidden]> wrote:
>>
>> > I've been working on an AllocatorAwareContainer called `dynamic_array`
>> and
>> > was wondering if there'd be any interest in including it in Boost.
>> >
>>
>> I've seen recent talk on the need for a fixed_capacity_vector in the
>> cpplang slack. This looks at first glance like it might fit the bill.
>>
>
> AFAIK, https://github.com/gnzlbg/static_vector is already on it's way for
> the std [P0843r3 ](https://gnzlbg.github.io/static_vector/), it does not
> seem a good idea to do a rewrite, without reference to the std [of
> `std::static_vector`, Vinnie :-), bikeshedding in the paper] being
> developed and to do a rewrite at all. As is, it does not work on Windows,
> due to calls to gcc/Clang built-in's, but that would be easy to fix.
>

Oh, yes, forgot one of the most attractive feature, it is fully
`constexpr`, i.e. it forms a basis to create any compile time flat
[associative] container.

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