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


1225. constexpr constructors and virtual bases

Section: 9.2.6  [dcl.constexpr]     Status: C++11     Submitter: Jason Merrill     Date: 2010-10-26

[Voted into the WP at the March, 2011 meeting as part of paper N3262.]

A class with a virtual base should not be allowed to have a constexpr constructor.

Proposed resolution (November, 2010) [SUPERSEDED]:

Add the following bullet to the list in 9.2.6 [dcl.constexpr] paragraph 4: