[libcxx-dev] deque, block_size, __add_back_capacity

Marshall Clow via libcxx-dev libcxx-dev at lists.llvm.org
Wed Apr 3 09:17:56 PDT 2019


On Tue, Apr 2, 2019 at 2:40 PM Jason MacDonald <
jason.macdonald at ditchwitch.com> wrote:

> I recompiled TI’s runtime library with the original block size from trunk
> and do not have issues.
>
> So my question is, is a block size of 1 unsupported, and therefor the
> error is in TI’s changes? Or is there an error in _add_back_capacity()?
>

The former - libc++ does not support a block size of 1.
The code was designed for a minimum block size of 16.

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20190403/db60546c/attachment.html>


More information about the libcxx-dev mailing list