On 2012-10-18 15:35, simendsjo wrote:
I don't think you can overload template methods with non-template methods
You cannot. The usual workaround for this is to make the non-template method a dummy template:
void foo () (int a) {} // Note the extra pair of empty parentheses But this won't work if you're not controlling the non-template method. -- /Jacob Carlborg