[.NET managed c++] Calling parent constructor.

Discussion in 'C++' started by Duncan Aitken, Sep 20, 2004.

  1. All,

    In an inherited managed c++ class, how do you call the contstructor of
    the parent class? I tried with the usual Parent::parent(...), but get
    compiler error C3257. Any ideas?

    Thanks,

    Duncan.
     
    Duncan Aitken, Sep 20, 2004
    #1
    1. Advertising

  2. Duncan Aitken

    Jack Klein Guest

    On 20 Sep 2004 09:35:39 -0700, (Duncan
    Aitken) wrote in comp.lang.c++:

    > All,
    >
    > In an inherited managed c++ class, how do you call the contstructor of
    > the parent class? I tried with the usual Parent::parent(...), but get
    > compiler error C3257. Any ideas?
    >
    > Thanks,
    >
    > Duncan.


    See Victor's answer to your other question.

    --
    Jack Klein
    Home: http://JK-Technology.Com
    FAQs for
    comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
    comp.lang.c++ http://www.parashift.com/c -faq-lite/
    alt.comp.lang.learn.c-c++
    http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html
     
    Jack Klein, Sep 20, 2004
    #2
    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. Alexandru Savescu
    Replies:
    0
    Views:
    374
    Alexandru Savescu
    Jan 7, 2004
  2. pantalaimon
    Replies:
    3
    Views:
    51,075
    John Harrison
    Oct 9, 2004
  3. Christian Dieterich

    inherit without calling parent class constructor?

    Christian Dieterich, Jan 26, 2005, in forum: Python
    Replies:
    3
    Views:
    403
    Jeff Shannon
    Jan 26, 2005
  4. Replies:
    6
    Views:
    510
  5. Generic Usenet Account
    Replies:
    10
    Views:
    2,245
Loading...

Share This Page