Skip to content

Vector names highlighted as functions in case these are followed by (...) #97

Open
@YuryYury

Description

@YuryYury

When I declare a vector, allocating its initial size like

std::vector<int> myVector(5); // allocating 5 elements for this vector

, myVector gets highlighted incorrectly as if it is a function. When I declare a vector without allocating its initial size like

std::vector<int> anotherVector;

, anotherVector is not highlighted as I would expect.

A screenshot:
image

Is different highlighting for myVector and anotherVector expected?

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