You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any declaration of a function or function template has a constexpr or consteval specifier, then all its declarations shall contain the same specifier.
This seems to imply that a mismatching constexpr on two declarations in different TU needs to be diagnosed.
Suggested resolution:
Insert after the quoted sentence:
No diagnostic is required if neither the declaration with the specifier nor the declaration without the specifier is reachable from the other.