
I don't know whether there are some guidelines or constraints that wouldn't make this possible, but I was thinking about a possible change for the iterator template. The current API requires to explicitly indicate the "Pointer" and "IsConst" parameters. Then, for an iterator class "Iter", the iterator and const_iterator types can be specified by setting the second template parameter to true and false, respectively. ```cpp typedef Iter<pointer, false> iterator; typedef Iter<pointer, true> const_iterator; ``` However, it'd be possible to remove "IsConst", and infer whether the iterator is constant or not from the "Pointer" type only. In this way, the implementation should also be a little cleaner. ```cpp typedef Iter<pointer> iterator; typedef Iter<const_pointer> const_iterator; ``` I find the latter way even more consistent with how reverse_iterator and const_reverse_iterator types are specified. Any feedback is much appreciated! Best regards, LoS On Mon, Sep 22, 2025, 12:38 AM Ion Gaztañaga <igaztanaga@gmail.com> wrote:
El 21/09/2025 a las 9:30, LoS via Boost escribió:
Hi, Ion!
Could you provide, if possible, the link to your new implementation of deque?
Best regards, LoS
It's in the develop branch of the official github site:
https://github.com/boostorg/container/tree/develop
Waiting for some more test before merging to master before Boost 1.90 release.
Best,
Ion