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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -