blob: f9681cc796d720466015be8b2e9935bf9ba79f70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef THECLASS_H
#define THECLASS_H
template<typename T> class TheClass
{
T defaultValue() const;
};
template<typename T> inline T TheClass<T>::defaultValue() const { return T(); }
#endif // THECLASS_H
|