Covariant returns

Lakshman KNVSM <lakshman@sasi.com>
23 Nov 1999 00:34:26 -0500

          From comp.compilers

Related articles
Covariant returns lakshman@sasi.com (Lakshman KNVSM) (1999-11-23)
Thunks? (was Re: Covariant returns) xenophon@irtnog.org (Matthew Economou) (1999-11-23)
Re: Covariant returns zalman@netcom11.netcom.com (Zalman Stern) (1999-11-28)
| List of all articles for this month |
From: Lakshman KNVSM <lakshman@sasi.com>
Newsgroups: comp.compilers
Date: 23 Nov 1999 00:34:26 -0500
Organization: EDA - STG, Silicon Automation Systems Ltd
Keywords: C++, question, comment

Hi,
        How are covariant returns implemented in C++? I mean, how is the pointer
adjustment required done in case of Multiple Inheritance?


regards,
Lakshman.
[This came up a couple of days ago. Either with function wrappers (often
incorrectly called thunks) or with an adjustment field in the vtbl. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.