Skip to content

Definition of static data member as constexpr #205

Closed
@sdkrystian

Description

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    MetadataAST or Metadata addition/change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions