[sword-devel] Constructors in abstract base classes

Jason Turner lefticus at gmail.com
Fri Feb 24 23:52:30 MST 2006


I was just working on some of the SWIG binding stuff and noticed that
classes such as SWText, SWLD, SWModule & SWCom have public
constructors even tho the classes are abstract. I am assuming these
constructors are for use by derived classes. If that is the case,
shouldn't they be declared protected?

-Jason

--
http://emptycrate.com Games, Programming, Travel & other stuff



More information about the sword-devel mailing list