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 947947\indextext {specifier!\idxcode {constexpr}!function}%
948948\indextext {constexpr function}%
949949A function is \defn {constexpr-suitable} if
950- \begin {itemize }
951- \item
952- it is not a coroutine\iref {dcl.fct.def.coroutine }, and
950+ it is not a coroutine\iref {dcl.fct.def.coroutine }.
953951
954- \item
955- if the function is a constructor or destructor,
956- its class does not have any virtual base classes.
957- \end {itemize }
958952Except for instantiated constexpr functions,
959953non-templated constexpr functions shall be constexpr-suitable.
960954
Original file line number Diff line number Diff line change 23282328\defnxname {cpp_constexpr_dynamic_alloc} & \tcode {201907L} \\ \rowsep
23292329\defnxname {cpp_constexpr_exceptions} & \tcode {202411L} \\ \rowsep
23302330\defnxname {cpp_constexpr_in_decltype} & \tcode {201711L} \\ \rowsep
2331+ \defnxname {cpp_constexpr_virtual_inheritance} & \tcode {202506L} \\ \rowsep
23312332\defnxname {cpp_consteval} & \tcode {202211L} \\ \rowsep
23322333\defnxname {cpp_constinit} & \tcode {201907L} \\ \rowsep
23332334\defnxname {cpp_contracts} & \tcode {202502L} \\ \rowsep
You can’t perform that action at this time.
0 commit comments