Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- template <class bucky>
- bucky addCrap(bucky a, bucky b){
- return a+b;
- }
- int main()
- {
- int x=7, y=43, z;
- z=addCrap(x,y);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement