who was a class inherited from? (C++)

Started by
9 comments, last by aboeing 20 years, 5 months ago
Two days later,..
The answer to my question, for future reference is:
-Download loki
-Use the SUPERSUBCLASS macro in

How to specialize for certain functions?
-Use the Int2Type template in

Example:
int A() {		return SpecificA(Int2Type<SUPERSUBCLASS(BaseClass,CurrentClass)>());	}

Im thinking I should just spend some time sitting down and learning loki inside out.

Edit: damn " < "'s

[edited by - aboeing on November 1, 2003 4:24:46 AM]

This topic is closed to new replies.

Advertisement