Why template function is not taking string as argument ? Thanks :D | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why template function is not taking string as argument ? Thanks :D

example : when I included string header and iostream template <class T,class T1> void funtion(T a,T1 b) { } int main() { int a;string b; function( a, b); }

16th May 2017, 4:35 PM
Ganesh Aleti
Ganesh Aleti - avatar
2 Answers
16th May 2017, 4:42 PM
Testing002
+ 1
to feel free can anyone write code for my question plz ?
17th May 2017, 2:06 AM
Ganesh Aleti
Ganesh Aleti - avatar