E
er
Hi All,
Here's an dilemma:
I used to have some code like this:
template<int i>
void f(){};
but now I found out how to do away with the template parameter:
void f(){};
However, I don't want to rewrite the old code I have that depends on
the first definition, while being able to use the new definition in
the new code. I don't think I can have it both ways, but perhaps
someone else has thought of this before me.
Here's an dilemma:
I used to have some code like this:
template<int i>
void f(){};
but now I found out how to do away with the template parameter:
void f(){};
However, I don't want to rewrite the old code I have that depends on
the first definition, while being able to use the new definition in
the new code. I don't think I can have it both ways, but perhaps
someone else has thought of this before me.