Skip to content

Dimensions swapped in new expression with multidimension array #106

@languagelawyer

Description

@languagelawyer

For the code

int main()
{
    auto p = new int[2][3];
}

cppinsight swaps the dimensions

int main()
{
  int (*)[3] p = new int [3][2];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions