Given the following in-progress C++ code:
if (true)
std
, as soon as I enter the first colon (:
) of the scope resolution operator (::
), XCode oddly inserts some square brackets, and my code looks like this:
if [(true)
std:]
This is really annoying, and it can't figure out why it's doing it. At the moment it's doing it in some files but not others.