Skip to content

Problem parsing brace-or-equal initializer for class members #24

Open
@KevFri

Description

@KevFri

Hello, thanks for this great tool!
I found the following error while using the C++ brace-or-equal initializer

Code:

private:
  int a;
  int b{0};
  int c = {0};
  int d = 1;
};

Output:

@startuml

/' Objects '/

class A {
        -a : int
        -d : int
}

/' Inheritance relationships '/

/' Aggregation relationships '/

/' Dependency relationships '/

/' Nested objects '/

@enduml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions