C++ Logo

std-proposals

Advanced search

Re: [std-proposals] #include <debug>

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 28 Nov 2024 22:53:14 -0800
On Thursday 28 November 2024 14:17:26 Pacific Standard Time Frederick Virchanza
Gotham via Std-Proposals wrote:
> You mentioned Control Flow Enforcement -- which by the way I've never
> encountered -- but of course you would turn that off when debugging.

Then I don't see the point of having those functions in the Standard, if they
can't be used at all times. You need to show good cause why they should be
there and that quite a few people would use them, as opposed to their just
being part of your toolchain.

In fact, you should just write what you can as a library and make it available
for others to use, and the rest you should contribute as intrinsics to
compilers willing to take them. Get some experience first in the use, the
usefulness, and implementation limitations before thinking of standardisation.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel DCAI Platform & System Engineering

Received on 2024-11-29 06:53:17