Ok thanks!


On 10/26/22 11:47, Bjorn Reese via Std-Proposals wrote:
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.

--
Email Signature
Logo
Phil Bouchard facebook icon
CTO
T: (819) 328-4743
E: phil@fornux.com | www.fornux.com
1188 rue Saint-Louis | Gatineau (Qc), J8T 2L8 Canada
Banner Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés uniquement aux personnes identifiées et peuvent contenir des informations privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message par erreur, veuillez le détruire.
This communication (and/or the attachments) is intended for named recipients only and may contain privileged or confidential information which is not to be disclosed. If you received this communication by mistake please destroy all copies.