KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
// Function declaration. template <typename T1, typename T2, typename RT> RT max (T1 a, T2 b); // Function call. max <int,double,double> (4,4.2) // Function call. max <int> (4,4.2) One case may be when you need to specify the return type. Is there any other situation which requires the argument types to be specified manually?
Tags (comma-separated)
Save Edits
Cancel