¡@

Home 

c++ Programming Glossary: template_const

How can I distinguish overloads of templates with non-type parameters?

http://stackoverflow.com/questions/17313649/how-can-i-distinguish-overloads-of-templates-with-non-type-parameters

parameters are exactly the same. template int module void template_const int a int b a a module b b module template bool x void template_const.. int a int b a a module b b module template bool x void template_const int a int b int w if x w 123 else w 512 a a w b b w When I.. else w 512 a a w b b w When I try to call them like this template_const true a b or template_const 123 a b the compiler tells me that..