Unicode in the Preprocessor
-
Hello.
I decided to make my code look better by the following trick:
#include <iostream> #define [e]le[/e] <= #define [e]ge[/e] >= #define [e]equiv[/e] == #define [e]rarr[/e] -> #define [e]ne[/e] != struct test { double a,b; }; int main(int const argc, char const *const *const argv) { test *x = new test; x [e]rarr[/e] a = 0.5; x [e]rarr[/e] b = 1.0; if( x [e]rarr[/e] a [e]le[/e] x [e]rarr[/e] b ) std::cout << "Good" << std::endl; }This compile and works well. But I am worry about is this comply with C++ standard??