Overload ternary ?: operator, or change to if{}else{} in included files
问题 Research project here. In my C++ library, I am including C files: #include "aprogram.c" which I execute symbolically by overloading (almost) all operators. I have to be able to detect (condition) ? this : that and extract condition , this and that for usage in my symbolic execution library. However, SO 1, SO 2 and SO 3 amongst others already helped me realise that ?: cannot be overloaded. Is there any way for me to forcibly overload ?: anyways? Can I change all ?: statements in my included C