Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zygoloid opened this issue Feb 10, 2020 · 0 comments · Fixed by #3843
Closed

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

zygoloid opened this issue Feb 10, 2020 · 0 comments · Fixed by #3843
Assignees
Milestone

Comments

@zygoloid
Copy link
Member

[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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants