c++ - Why both template functions and overloaded functions? -


so i'm kind of new c++ , started learning template functions. after learning them, must ask question: why c++ allow overload functions not methods when template functions exist? seems redundant when looking @ fact template functions can used many times programmer needs whatever data type programmer wants.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

Ansible warning on jinja2 braces on when -

html - How to custom Bootstrap grid height? -