topical media & game development
professional-program-25-Template-SimpleTemplate.c
? /
professional-program-25-Template-SimpleTemplate.c
SimpleTemplate.cpp
template <typename T>
SimpleTemplate<T>::SimpleTemplate(T &inObject) : mObject(inObject)
{
}
template <typename T>
const T& SimpleTemplate<T>::get()
{
return mObject;
}
template <typename T>
void SimpleTemplate<T>::set(T& inObject)
{
mObject = inObject;
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.