E
Espen Ruud Schultz
I have a template with some common functions:
template< class Type > class Object : public Type {
public:
void Function( void );
};
Sometimes it makes sence to run Function() without specifying a Type. Is it
possible to create an object out of Object that doesn't inherit like this
template does. Darn, not easy to explain. I wanna do something like this:
Object< NULL >::Function();
....and this:
Object< NULL > This;
This.Function();
TIA!
, Espen
template< class Type > class Object : public Type {
public:
void Function( void );
};
Sometimes it makes sence to run Function() without specifying a Type. Is it
possible to create an object out of Object that doesn't inherit like this
template does. Darn, not easy to explain. I wanna do something like this:
Object< NULL >::Function();
....and this:
Object< NULL > This;
This.Function();
TIA!
, Espen