Help with templates

closed account (ozUkoG1T)
Hey c++ forums,
I have been learning templates but the problem is that i do not know how to set it out. If any of you programmers know how to make one show me an very basic template code. Thanks in advance
Last edited on
1
2
3
4
5
6
7
template <typename>
struct A {};

int main()
{
   A<int> a;
}
Topic archived. No new replies allowed.