Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
<typename T> vs <class T>
typename
0 Vote
1 Réponse
5th Feb 2019, 5:57 AM
Daniel Cooper
In which situation template<class T> is use?
c++
templates
1 Vote
3 Réponses
31st Jan 2020, 3:31 AM
Shekhar Sharma
I got this problem: template<class T> Tmax<Ta,Tb,,Tc>
c++
0 Vote
2 Réponses
23rd Sep 2022, 7:50 PM
Oliver Pasaribu
What is the scope of template life in a program?
<template
class
t>
2 Votes
2 Réponses
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 Réponses
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 Réponses
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 Réponses
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 Réponses
25th Aug 2016, 1:18 PM
Lekhraj Singh
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
What's the best way to learn anything
2 Votes
Most asked!
1 Votes
How can I improve my Authenticator App built with HTML, CSS, and JavaScript?
0 Votes
Is react js enough for frontend??
0 Votes
Malloc vs calloc | memory not initialized
1 Votes
help!
0 Votes
Mini project ideas for final years
0 Votes
Please guys could smw do this for me ?
0 Votes
Best way to remember things on this app?
0 Votes
Bits
0 Votes