C++ Logo

sg15

Advanced search

Re: [isocpp-sg15] [isocpp-sg21] P3835 -- Different contract checking for different libraries

From: René Ferdinand Rivera Morell <grafikrobot_at_[hidden]>
Date: Tue, 14 Oct 2025 10:06:53 -0500
On Tue, Oct 14, 2025 at 9:50 AM Gabriel Dos Reis <gdr_at_[hidden]> wrote:

> There are two assertions there that I cannot understand. Rene, could you
> explain further the impossibility?
>

It's simple.. If you use a macro in your headers users can override any
control you may think you have over that macro.

-- 
-- René Ferdinand Rivera Morell
-- Don't Assume Anything  -- No Supongas Nada
-- Robot Dreams - http://robot-dreams.net

Received on 2025-10-14 15:07:07