Debian Codegraph @

yo/classtemplates/examples/static.cc

raw
1 template <typename Type>
2 class TheClass
3 {
4 static int s_objectCounter; // declaration
5
6 };
7
8 template <typename Type> // definition
9 int TheClass<Type>::s_objectCounter = 0;