4 ms·
They use those "obscure __identifiers__" because they are reserved by the standard and thus a conforming program will not define macros with those values and br
by Leherenn 6y ago
They use those "obscure __identifiers__" because they are reserved by the standard and thus a conforming program will not define macros with those values and break everything.
- vbezhenar 6y agoIMO a better approach would to define some way for compiler to undo all defines before standard header is included and redo those defines afterwards. Or just to stipulate that standard headers must be included before other user code.
- lldbg 6y agoWith modules, "hiding" code like that will be possible in C++. If only we could skip forward a decade and get mature implementations of it right now...