CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: laserlight

Search: Search took 0.07 seconds.

  1. Replies
    8
    Views
    2,401

    Re: Design advice required

    In that case, B probably should not inherit from A, and if it does inherit, it should use private inheritance. My guess is that you should have an object of class A as a member variable of B...
  2. Replies
    8
    Views
    2,401

    Re: Design advice required

    Make A an abstract base class. There presumably will be some virtual function for which an implementation in A wouldn't make sense: make that pure virtual. If really no such virtual function is...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured