File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 916916\indextext {specifier!\idxcode {constexpr}!function}%
917917\indextext {constexpr function}%
918918A function is \defn {constexpr-suitable} if
919- \begin {itemize }
920- \item
921- it is not a coroutine\iref {dcl.fct.def.coroutine }, and
919+ it is not a coroutine\iref {dcl.fct.def.coroutine }.
922920
923- \item
924- if the function is a constructor or destructor,
925- its class does not have any virtual base classes.
926- \end {itemize }
927921Except for instantiated constexpr functions,
928922non-templated constexpr functions shall be constexpr-suitable.
929923
Original file line number Diff line number Diff line change 23012301\defnxname {cpp_constexpr_dynamic_alloc} & \tcode {201907L} \\ \rowsep
23022302\defnxname {cpp_constexpr_exceptions} & \tcode {202411L} \\ \rowsep
23032303\defnxname {cpp_constexpr_in_decltype} & \tcode {201711L} \\ \rowsep
2304+ \defnxname {cpp_constexpr_virtual_inheritance} & \tcode {202506L} \\ \rowsep
23042305\defnxname {cpp_consteval} & \tcode {202211L} \\ \rowsep
23052306\defnxname {cpp_constinit} & \tcode {201907L} \\ \rowsep
23062307\defnxname {cpp_contracts} & \tcode {202502L} \\ \rowsep
You can’t perform that action at this time.
0 commit comments