☰
Debian Codegraph
@
13.04.01-1
/
/
yo
/
classtemplates
/
examples
/
static.cc
☽
☼
yo/classtemplates/examples/static.cc
code
plain
raw
GPL-2+
1994-2025 by Frank B. Brokken, University of Groningen.
debian/copyright
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;