C++ Logo

std-proposals

Advanced search

Re: [std-proposals] D4444R0: std::big_int

From: Bjorn Reese <breese_at_[hidden]>
Date: Fri, 21 Aug 2026 17:14:02 +0200
On 8/19/26 11:23, Jan Schultke via Std-Proposals wrote:

> We could really use some feedback so that the published R0 is as
> polished as possible. Any thoughts on the paper and on the reference

The design of basic_bit_int uses an allocator and small object
optimization.

Have you considered a design where basic_big_int takes a container
instead? The allocator can then be replaced by std::vector, and the
small object optimization by std::inplace_vector.

Received on 2026-08-21 15:14:11