This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 114a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-04-18


2449. Thunks as an implementation technique for pointers to virtual functions

Section: 7.6.2.2  [expr.unary.op]     Status: extension     Submitter: John McCall     Date: 2020-06-03

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.