Skip to content

[class.mfct]p2's list of keywords that make a function inline forgets consteval #3663

@zygoloid

Description

@zygoloid

[class.mfct]p2 says:

An inline member function (whether static or non-static) may also be defined outside of its class definition provided either its declaration in the class definition or its definition outside of the class definition declares the function as inline or constexpr.

Obviously this should also permit consteval.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions