Open YuryYury opened 1 year ago
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
myVector
std::vector<int> anotherVector;
, anotherVector is not highlighted as I would expect.
anotherVector
A screenshot:
Is different highlighting for myVector and anotherVector expected?
When I declare a vector, allocating its initial size like
,
myVector
gets highlighted incorrectly as if it is a function. When I declare a vector without allocating its initial size like,
anotherVector
is not highlighted as I would expect.A screenshot:
Is different highlighting for
myVector
andanotherVector
expected?