c++ - How to generate compile time errors? -
i able this:
void f(int*p = nullptr) { if (!p) { //here have msg displayed during compilation warning possibly } }
the correct answer is: you're trying won't ever work.
i able this:
void f(int*p = nullptr) { if (!p) { //here have msg displayed during compilation warning possibly } }
the correct answer is: you're trying won't ever work.
Comments
Post a Comment