You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
291 B
29 lines
291 B
template<class T>
|
|
class TestTemp
|
|
{
|
|
public:
|
|
TestTemp();
|
|
void SetValue( T obj_i );
|
|
T Getalue();
|
|
private:
|
|
T m_Obj;
|
|
};
|
|
|
|
template <class T>
|
|
TestTemp<T>
|
|
::TestTemp()
|
|
{
|
|
}
|
|
template <class T>
|
|
void TestTemp<T>
|
|
::SetValue( T obj_i )
|
|
{
|
|
}
|
|
|
|
template <class T>
|
|
T TestTemp<T>
|
|
::Getalue()
|
|
{
|
|
return m_Obj;
|
|
}
|