Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Braces inside square brackets shown as error #16

@bmerry

Description

@bmerry

This code is valid C++11, but the braces are shown in red as invalid syntax

std::map<std::pair<int, int>, int> m;
m[{1, 2}] = 3;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions