c++ Programming Glossary: iboxcandox
Testing a c++ class for features http://stackoverflow.com/questions/3336859/testing-a-c-class-for-features to them. I have struct IBox all boxes do these .... struct IBoxCanDoX the power to do X void x struct IBoxCanDoY the power to do Y.. with these optional capabilities a if typeid box typeid IBoxCanDoX IBoxCanDoX ix static_cast IBoxCanDoX box ix x b IBoxCanDoX.. optional capabilities a if typeid box typeid IBoxCanDoX IBoxCanDoX ix static_cast IBoxCanDoX box ix x b IBoxCanDoX ix dynamic_cast..
|