C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Interceptor Function (preserve stack and all registers)

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Mon, 13 Apr 2026 19:08:20 +0100
On Monday, April 13, 2026, Thiago Macieira wrote:

>
> Since this can only aspire to become a compiler extension, it doesn't need
> to
> work everywhere. It just needs to work where you need it to work.
>



I don't see why you're thinking that way.

Personally I'd use it for debugging, logging and changing the behaviour of
a pre-compiled DLL or SO file.

Another guy 2 years ago said he would find it very useful for interfacing
C++ code with Haskell.

I'll start this off though by making it an extension to GNU g++, and take
it from there.

Received on 2026-04-13 18:08:22