M
Markus Dehmann
I have a
static const bool debug = false;
variable in my class. Debug output goes like this, trivially:
if(debug) cerr << "debug message";
Is it guaranteed that this if/then clause is always optimized away if the
debug variable is false?
Thanks!
Markus
static const bool debug = false;
variable in my class. Debug output goes like this, trivially:
if(debug) cerr << "debug message";
Is it guaranteed that this if/then clause is always optimized away if the
debug variable is false?
Thanks!
Markus