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 947
947
\indextext {specifier!\idxcode {constexpr}!function}%
948
948
\indextext {constexpr function}%
949
949
A 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 }.
953
951
954
- \item
955
- if the function is a constructor or destructor,
956
- its class does not have any virtual base classes.
957
- \end {itemize }
958
952
Except for instantiated constexpr functions,
959
953
non-templated constexpr functions shall be constexpr-suitable.
960
954
Original file line number Diff line number Diff line change 2328
2328
\defnxname {cpp_constexpr_dynamic_alloc} & \tcode {201907L} \\ \rowsep
2329
2329
\defnxname {cpp_constexpr_exceptions} & \tcode {202411L} \\ \rowsep
2330
2330
\defnxname {cpp_constexpr_in_decltype} & \tcode {201711L} \\ \rowsep
2331
+ \defnxname {cpp_constexpr_virtual_inheritance} & \tcode {202506L} \\ \rowsep
2331
2332
\defnxname {cpp_consteval} & \tcode {202211L} \\ \rowsep
2332
2333
\defnxname {cpp_constinit} & \tcode {201907L} \\ \rowsep
2333
2334
\defnxname {cpp_contracts} & \tcode {202502L} \\ \rowsep
You can’t perform that action at this time.
0 commit comments