Why can't this method take derived class?

This is a discussion on Why can't this method take derived class? within the C++ Programming forums, part of the General Programming Boards category; CornedBee, Ha Ha!! In case of my brain, it goes via ears and eyes PS: I can see CornedBee coming ...

  1. #61
    Banned
    Join Date
    Nov 2007
    Posts
    678
    CornedBee, Ha Ha!!
    In case of my brain, it goes via ears and eyes

    PS: I can see CornedBee coming holding a Lock and Key!!!

  2. #62
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Quote Originally Posted by CornedBee View Post
    Or at least the bone is so thick that nothing can get through.
    One should strive for such a skull, should they not? At least someone who doesn't want objects to penetrate it.

    But all arguments aside, conceptually I see a Vector as what the STL describes it as, a Container. A Container which holds types. Some of those types may be pointers to types, but that distinction doesn't affect what a Vector is conceptually.

Page 5 of 5 FirstFirst 12345
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Base-class pointer, accessing object from derived class
    By Korhedron in forum C++ Programming
    Replies: 15
    Last Post: 09-28-2008, 06:30 AM
  2. Callback function as class method
    By schifers in forum Windows Programming
    Replies: 39
    Last Post: 05-19-2008, 04:02 PM
  3. C++ Newbie - Derived Class Issue
    By Gipionocheiyort in forum C++ Programming
    Replies: 8
    Last Post: 08-01-2007, 01:20 AM
  4. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 07:49 PM

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