If two classes have nothing in common from the implementation side deriving them from the same base class still might have a big advantage: You can make a pointer to an object of that base class and access all the common members without casting them and without writing code that is specific for dealing with one of these classes. Sometimes that allows to de-duplicate much of the code that uses the two classes...
-- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/F18C4563-2E1B-4627-B04C-3EB31359A71E%40gmail.com.
