Re: [cxx-abi-dev] Deleted virtual functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cxx-abi-dev] Deleted virtual functions
- To: David Vandevoorde <daveed@xxxxxxx>
- Subject: Re: [cxx-abi-dev] Deleted virtual functions
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Fri, 29 May 2009 08:25:06 -0700
David Vandevoorde wrote:
> I think the API functions should keep C linkage, but the vtable should
> be allowed to point to a wrapper for these functions with C++ linkage.
Yes -- provided you accept my view that the requirements on these
functions are merely that the run-time library must provide them. Then,
the compiler is free to put whatever it wants into the virtual table --
including, if necessary, a reference to a wrapper.
--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713