[Cfp-interest 2813] Re: Action items about WANT macros in TS-4r

Damian McGuckin damianm at esi.com.au
Thu Aug 3 17:43:40 PDT 2023


On Thu, 3 Aug 2023, Jim Thomas wrote:

> The WANT macros in the standard are
> 
> __STDC_WANT_IEC_60559_EXT__
> __STDC_WANT_LIB_EXT1__
> __STDC_WANT_IEC_60559_TYPES_EXT__
> 
> It?s usual in the standard for library interfaces conditioned by these 
> WANT macros to be defined or declared only if the WANT macro is 
> appropriately defined by the user. The reason is namespace protection, 
> and WG 14 members have expressed significant interest in namespace 
> protection. I think we should keep the ?if and only? wording, for 
> namespace protection and consistency.

I especially like that last word.

Seconded - Damian


More information about the Cfp-interest mailing list