![]() |
Prev | Next |
template <class Type> class template_class { private: Type value_; public: // ctor template_class(const Type& value); // value Type value(void) const; // addition template_class operator+(const template_class& right) const; // equality bool operator==(const template_class& right) const; };
template_class
object that has the
specified
value
.
swig_xam_template_class.hpp | Swig Example: C++ Template Class Implementation |