Re: [General]acces of members of subclass



Lew wrote:
Daniel Moyne wrote:

- Sub may have itw own typical constructor with its own parameters where of
course super(...) is not present.

'super()' is always present, if only implicitly. If you do not provide one, the compiler inserts a call to the no-argument 'super()' for you.


Er, lots of classes have no zero-argument constructor, so Daniel is correct. Any given sub-class, in the general case, cannot rely on the presence of a super() call.
.



Relevant Pages

  • nmap build failure
    ... checking for C compiler default output... ... checking for cc option to accept ANSI C... ... checking host system type... ... checking sys/param.h presence... ...
    (freebsd-questions)
  • Stunnel on Solaris 10 (SPARC)
    ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ... checking ucontext.h usability... ... checking ucontext.h presence... ...
    (comp.unix.solaris)
  • Re: Problem printing landscape with Ghostscript 8.54
    ... checking for gcc... ... checking for C compiler default output... ... checking errno.h usability... ... checking errno.h presence... ...
    (comp.lang.postscript)
  • icewm port: make error
    ... checking for C compiler default output... ... checking limits.h usability... ... checking limits.h presence... ... checking whether iconv converts from ISO-8859-1 to UCS-4//TRANSLIT... ...
    (freebsd-newbies)
  • icewm port: make error
    ... checking for C compiler default output... ... checking limits.h usability... ... checking limits.h presence... ... checking whether iconv converts from ISO-8859-1 to UCS-4//TRANSLIT... ...
    (freebsd-questions)