3 ms·
IMO 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
by vbezhenar 6y ago
IMO 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...