On 9/08/2018 2:08 AM, Charles Mills wrote:
Yes, ??= is the trigraph for #. Talk about hash!

Trigraphs go away in C++17.

Michael Wong from IBM has already stated that IBM will still support trigraphs in C++ as an extension. C hasn't deprecated them. But seeing as #pragma filetag() is already an extension I see no reason why anybody would use them. I have no idea why the health checker header files in SYS1.SIEAHDR.H(HZS*) chose to use them. It's an act of madness!



Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Wednesday, August 8, 2018 10:23 AM
To: [email protected]
Subject: Re: EBCDIC (was: Json table characters)

On Wed, 8 Aug 2018 09:55:08 -0700, Charles Mills wrote:

Thank you -- I did not know about not. I see here 
https://en.cppreference.com/w/cpp/language/operator_alternative that there is a 
whole family of these including not_eq.

I have encountered IBM files that used the C++ trigraphs: ??< for { and so 
forth. What an unreadable mess! (IMHO, obviously)

I understand that some compilers have a #pragma that disables trigraphs.
Alas, "#" may not be entirely portable and may need to be coded as a
trigraph.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to