C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Templated Circular Buffer Container

From: Bjorn Reese <breese_at_[hidden]>
Date: Wed, 26 Oct 2022 17:47:57 +0200
On 10/26/22 14:53, Phil Bouchard via Std-Proposals wrote:

> I'm surprised this is not part of the standard library yet:
>
> https://www.boost.org/doc/libs/1_49_0/libs/circular_buffer/doc/circular_buffer.html

That API is rather dated, so a span-based approach was proposed instead
but never submitted for a Boost formal review due to lack of sparetime.
The proposed replacement can be found here

   https://github.com/breese/trial.circular/blob/develop/doc/circular.adoc

This API can implement both boost::circular_buffer and P0059.

Received on 2022-10-26 15:48:00