virtual inheritance

This is a discussion on virtual inheritance within the C++ Programming forums, part of the General Programming Boards category; Hello everyone, I have learned public/private/protected inheritance, but what is virtual inheritance? Here is the sample, class Usable : public ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    virtual inheritance

    Hello everyone,


    I have learned public/private/protected inheritance, but what is virtual inheritance? Here is the sample,

    class Usable : public virtual Usable_lock

    http://www.research.att.com/~bs/bs_f...#no-derivation


    thanks in advance,
    George

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,803
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Virtual Inheritance: Building Menu items
    By csonx_p in forum C++ Programming
    Replies: 12
    Last Post: 01-22-2009, 11:28 AM
  2. Replies: 48
    Last Post: 09-26-2008, 03:45 AM
  3. Virtual function and multiple inheritance
    By George2 in forum C++ Programming
    Replies: 68
    Last Post: 02-13-2008, 12:15 AM
  4. C++ XML Class
    By edwardtisdale in forum C++ Programming
    Replies: 0
    Last Post: 12-10-2001, 10:14 PM
  5. Exporting Object Hierarchies from a DLL
    By andy668 in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2001, 01:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21