C++ Logo


Advanced search

Re: [std-proposals] Monitor recursion by checking the frame pointer

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 17 Apr 2023 12:46:11 -0700
On Monday, 17 April 2023 07:50:10 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> Anyway, the use of "std::frame_pointer" inside a function would be an
> indicator to the compiler to actually use the frame pointer. If it
> really doesn't want to use the frame pointer, it can return nullptr.

Then the feature is as good as useless. A compliant implementation can simply
return nullptr everywhere.

And then how does this work for your needs?

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2023-04-17 19:46:12