|
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Such
static data members are declared within the class
|
|
|
definition
and are defined outside the class, possibly in the
|
|
class
implementation file.
|
|
|
template <class TYPE>
|
|
class stack {
|
|
static int data;
|
|
|
}
|
|
template <class TYPE>
|
|
int stack<TYPE>::data = 100;
|
|
|
|