Re: When is virtual fn def in base cls required?

Discussion in 'C++' started by Victor Bazarov, Jun 24, 2003.

  1. "Dick Bridges" <> wrote...
    > I'm having a "senior moment". Can someone point me to a reference that
    > describes the circumstances requiring a base class to provide an
    > implementation for a pure virtual member function?


    Point I probably can't. However, explain I probably can.
    The definition is required when a call to that function is
    going to be resolved statically. That is, a call to it
    from its class' constructors and the destructor and a call
    to it made using qualified-id (classname::function).

    Victor
    Victor Bazarov, Jun 24, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jiong Feng
    Replies:
    0
    Views:
    819
    Jiong Feng
    Nov 19, 2003
  2. Josephine Schafer
    Replies:
    0
    Views:
    736
    Josephine Schafer
    Jun 25, 2003
  3. Norbert Riedlin
    Replies:
    0
    Views:
    811
    Norbert Riedlin
    Jun 25, 2003
  4. J Peyret
    Replies:
    10
    Views:
    437
    Steven D'Aprano
    Mar 19, 2011
  5. Sean Ross
    Replies:
    3
    Views:
    122
    Aredridel
    Dec 25, 2003
Loading...

Share This Page