On Tue, 16 Jul 2024 at 19:26, M.C.A. (Marco) Devillers
<marco.devill...@gmail.com> wrote:
>
> All your proposals now boil down to: Do explicit memory management
> whereas the developer supposes that is handled for them.

There's no explicit memory management in the loop I showed. It's
explicit control of lifetime, which is what all the containers in the
C++ library do for you.

If that's too much trouble to avoid unbounded stack growth, then use
data structures somebody else has already written which work
correctly.

Reply via email to