This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-11-11
[Voted into the WP at the February, 2012 meeting; moved to DR at the October, 2012 meeting.]
Both the .* and ->* operators (7.6.4 [expr.mptr.oper]) require that the class of the second operand be a complete object type. Current implementations do not enforce this requirement, and it is not clear that there is a need for it.
Proposed resolution (August, 2011):
Change 7.6.4 [expr.mptr.oper] paragraph 2 as follows:
The binary operator .* binds its second operand, which shall be of type “pointer to member of T”(where T is a completely-defined class type)to its first operand...
Change 7.6.4 [expr.mptr.oper] paragraph 3 as follows:
The binary operator ->* binds its second operand, which shall be of type “pointer to member of T”(where T is a completely-defined class type)to its first operand...