Corsi
Accedi
Inizia a imparare l'IA
Corsi
Accedi
Inizia a imparare l'IA
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
<typename T> vs <class T>
typename
0 Voti
1 Risposta
5th Feb 2019, 5:57 AM
Daniel Cooper
In which situation template<class T> is use?
c++
templates
1 Voto
3 Risposte
31st Jan 2020, 3:31 AM
Shekhar Sharma
I got this problem: template<class T> Tmax<Ta,Tb,,Tc>
c++
0 Voti
2 Risposte
23rd Sep 2022, 7:50 PM
Oliver Pasaribu
What is the scope of template life in a program?
<template
class
t>
2 Voti
2 Risposte
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 Voto
2 Risposte
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 Voti
5 Risposte
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 Voto
3 Risposte
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 Voto
2 Risposte
25th Aug 2016, 1:18 PM
Lekhraj Singh
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
Salut tout le monde
1 Votes
Please click me
0 Votes
Hello !
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes