Template class example
#include <iostream>
int main(int argc, char** argv)
{
std::cout <<
"instance.field() = " << instance.
field() << std::endl;
std::cout <<
"instance.Method(100) = " << instance.
Method(100) << std::endl;
return 0;
}
Template class definition.
int field() const noexcept
Get field value.
static int StaticMethod(int parameter) noexcept
Some static method.
int Method(int parameter) const noexcept
Some method.