You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it is not a coroutine (9.5.4 [dcl.fct.def.coroutine]), and
if the function is a constructor or destructor, its class does not have any virtual base classes.
The second bullet does fit well into the enclosing context ("A function is constexpr-suitable if, [...] if the function [...]"). This would be easier to read if rephrased:
A function is constexpr-suitable if:
it is not a coroutine (9.5.4 [dcl.fct.def.coroutine]), and
if the function either it is not a constructor or destructor, or its class does not have any virtual base classes.
or
A function is constexpr-suitable if:
it is not a coroutine (9.5.4 [dcl.fct.def.coroutine]), and
if the function it is not a constructor or destructor, its of a class does not have any with virtual base classes.
The text was updated successfully, but these errors were encountered:
CWG2602 asks for this text in [dcl.constexpr]/3:
The second bullet does fit well into the enclosing context ("A function is constexpr-suitable if, [...] if the function [...]"). This would be easier to read if rephrased:
or
The text was updated successfully, but these errors were encountered: