This question has no practical use! I've asked this only because I'm curious!
There is a way in C++ to falsify true as false by writing somewhere #define true false
, and then everywhere true
in code will considered as false
. But I'm seeking for a way to falsify true
as false
and false
as true
at the same time:
#define true false
#define false true
This doesn't works, and trying to "save" original true
also doesn't:
#define temptrue true
#define true false
#define false temptrue
Do you know any way to do that?