constexpr
/consteval
specifier kinds
<mrdocs/Metadata/Specifiers.hpp>
enum class ConstexprKind : int;
Name | Description |
---|---|
None | No constexpr or consteval specifier |
Constexpr | The constexpr specifier |
Consteval | The consteval specifier only valid for functions |
[dcl.spec.general] p2: At most one of the constexpr
, consteval
, and constinit
keywords shall appear in a decl-specifier-seq