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
Post a Comment