Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
<typename T> vs <class T>
typename
0 Votes
1 Answer
5th Feb 2019, 5:57 AM
Daniel Cooper
In which situation template<class T> is use?
c++
templates
1 Vote
3 Answers
31st Jan 2020, 3:31 AM
Shekhar Sharma
I got this problem: template<class T> Tmax<Ta,Tb,,Tc>
c++
0 Votes
2 Answers
23rd Sep 2022, 7:50 PM
Oliver Pasaribu
What is the scope of template life in a program?
<template
class
t>
2 Votes
2 Answers
23rd Nov 2016, 3:31 AM
sadiya zainab
Drag and drop from the options below to declare a class template ''Spunky''. <class T> Spunky { public: Spunky( x) {
c++
templates
-1 Vote
2 Answers
19th Apr 2019, 5:32 AM
Mayank Arya
what is the output of this code? template<class t> void f(t){ static int I=0; cout<<I++; } int main (){ f(1); f(1.0); f(1); }
c++
2 Votes
5 Answers
26th Jul 2016, 3:05 PM
Darsh Shah
what is the output of this code? template<class t> void f(t){ static int I=0; cout<<I++; } int main (){ f(1); f(1.0); f(1); }
c++
1 Vote
3 Answers
24th Jul 2016, 5:22 PM
Darsh Shah
why this output is 1 ,why not 2 ? template <class T> void f(T &i){ cout<<1; } template<> void f(const int &i){ cout<<2; } int main (){ int i=8; f(i); }
c++
1 Vote
2 Answers
25th Aug 2016, 1:18 PM
Lekhraj Singh
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
What is a simple and easy way to learn ruby? :)
1 Votes
Lesson Takeaways
1 Votes
GrĂĄficos
0 Votes
Iâm a beginner and looking to learn the basics
0 Votes
How to get Intergalactic champion badge?
1 Votes
Why
0 Votes
How to open codes that are not saved in public
0 Votes
Which language?
0 Votes
Grid layout
1 Votes
Is Tech for everyone really that useful? :)
0 Votes