I know this is probably impossible but is there any way to force all sub-classes of a certain class to have a static method? Either to make them implement one (like in pure virtual functions) or have the compiler complain they don't have it?
I know this is probably impossible but is there any way to force all sub-classes of a certain class to have a static method? Either to make them implement one (like in pure virtual functions) or have the compiler complain they don't have it?
Last edited by 6tr6tr; 05-04-2008 at 10:40 AM.