blob: 1f284b2ab0e9a139ebffeef687dbefbe7b7c5d65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <stdio.h>
#include "x.h"
template class Adder<int>;
int main()
{
Adder<int> add;
add.set(3);
add.add(3);
printf("In main: %d\n", add.get());
return 0;
}
|