Title
Thunks as an implementation technique for pointers to virtual functions
Status
extension
Section
7.6.2.2 [expr.unary.op]
Submitter
John McCall

Created on 2020-06-03.00:00:00 last changed 54 months ago

Messages

Date: 2020-06-03.00:00:00

Although there are implementations that use thunks for pointers to virtual member functions, it appears that such a technique is not permitted by the Standard. Concerns particularly include the requirements for complete types for parameter and return types at the point at which the member function pointer is formed.

History
Date User Action Args
2020-06-03 00:00:00admincreate