1

Im playing around with cppdepend,
and one thing bugs me:
It lists certain classes that violate "base class should not use derivatives". But I didnt figure out a way to see exactly where and how base class is using derivatives. Can it be done? BTW im using evaluation version on Win.

NoSenseEtAl
  • 28,205
  • 28
  • 128
  • 277

1 Answers1

2

To check what methods used from base class ,the easy way is to select the base class concerned in the class browser,righ click and choose "Select Methods That I Use" , you will have also methods existing in derivative classes.

  • meh nevermind... I gave up, I have a ton of code and from what I see calling Base ctor in Der init list makes the classes mutually dependent. BS. When I saw that warning I was expecting something super weird, not this since it is one way dependance. – NoSenseEtAl Oct 03 '12 at 13:54