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 916
916
\indextext {specifier!\idxcode {constexpr}!function}%
917
917
\indextext {constexpr function}%
918
918
A 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 }.
922
920
923
- \item
924
- if the function is a constructor or destructor,
925
- its class does not have any virtual base classes.
926
- \end {itemize }
927
921
Except for instantiated constexpr functions,
928
922
non-templated constexpr functions shall be constexpr-suitable.
929
923
Original file line number Diff line number Diff line change 2301
2301
\defnxname {cpp_constexpr_dynamic_alloc} & \tcode {201907L} \\ \rowsep
2302
2302
\defnxname {cpp_constexpr_exceptions} & \tcode {202411L} \\ \rowsep
2303
2303
\defnxname {cpp_constexpr_in_decltype} & \tcode {201711L} \\ \rowsep
2304
+ \defnxname {cpp_constexpr_virtual_inheritance} & \tcode {202506L} \\ \rowsep
2304
2305
\defnxname {cpp_consteval} & \tcode {202211L} \\ \rowsep
2305
2306
\defnxname {cpp_constinit} & \tcode {201907L} \\ \rowsep
2306
2307
\defnxname {cpp_contracts} & \tcode {202502L} \\ \rowsep
You can’t perform that action at this time.
0 commit comments