update
This commit is contained in:
parent
2992f4f408
commit
4f46de8d00
3330 changed files with 394553 additions and 76939 deletions
20
.config/Code/User/History/57898c00/Fpm3.cpp
Normal file
20
.config/Code/User/History/57898c00/Fpm3.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
Rafay Ahmad
|
||||
23I-2526
|
||||
*/
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
template <class T>
|
||||
void swapValues(T& a, T& b){
|
||||
T temp = a;
|
||||
a = b;
|
||||
b = temp;
|
||||
}
|
||||
|
||||
int main(){
|
||||
|
||||
swapValues<int>(1, 2);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue