I think replacing one line
static unsigned featureField = FeatureA | FeatureB;
with 15 lines involving templates is by no means easy to maintain.
Type: Posts; User: salquestfl
I think replacing one line
static unsigned featureField = FeatureA | FeatureB;
with 15 lines involving templates is by no means easy to maintain.
What exactly this template is accomplishing apart from setting the value of a global variable? C++ is already complicated enough for simple tasks sometimes.The programmer needs to specifically...