C++ Logo

std-proposals

Advanced search

Re: [std-proposals] C++ never had a compiler without a stack

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 14 Aug 2023 08:21:08 -0700
On Monday, 14 August 2023 04:44:51 PDT Frederick Virchanza Gotham via Std-
Proposals wrote:
> So how about we have a function to get the stack pointer, which would
> look something like:

And what would such function be used for? Please give three different use-cases
or at least one very strong one that couldn't otherwise be implemented without
it.

Also, do note that this function would return implementation-defined values,
which may change along a function's body or be the same as the caller or
callees of this function.

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

Received on 2023-08-14 15:21:10