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

Definition of static data member as constexpr #205

Closed
sdkrystian opened this issue May 22, 2023 · 0 comments
Closed

Definition of static data member as constexpr #205

sdkrystian opened this issue May 22, 2023 · 0 comments
Labels
Metadata AST or Metadata addition/change

Comments

@sdkrystian
Copy link
Member

sdkrystian commented May 22, 2023

struct S
{
    static const S s;
};
constexpr S S::s = S{};

This is valid C++ and must be handled accordingly.

@sdkrystian sdkrystian added the Metadata AST or Metadata addition/change label May 22, 2023
sdkrystian added a commit to sdkrystian/mrdocs that referenced this issue Jun 30, 2023
alandefreitas pushed a commit to alandefreitas/mrdocs that referenced this issue Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metadata AST or Metadata addition/change
Projects
None yet
Development

No branches or pull requests

1 participant