We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Checklist
"C_Cpp.enhancedColorization": "Disabled"
If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension: https://github.com/microsoft/vscode-cpptools/issues/new/choose
template<bool V> struct foo { bool value = V; }; template<typename T> struct bar : foo<(T(-1) < T(0))> {}; template<typename T> struct bar<T> : false_type {};
The < within the template parameter of bar is interpreted as the opening angle bracket of a template instead of a less than:
<
bar
punctuation.section.angle-brackets.begin.template.call.cpp meta.template.call.cpp meta.template.call.cpp meta.head.struct.cpp meta.block.struct.cpp source.cpp
The template on line 5 should get the same color/scope as the other templates.
template
Originally from @lethalbit in microsoft/vscode#225314
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
"C_Cpp.enhancedColorization": "Disabled"
If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose
The code with a problem is:
It looks like:
The
<
within the template parameter ofbar
is interpreted as the opening angle bracket of a template instead of a less than:It should look like:
The
template
on line 5 should get the same color/scope as the other templates.Originally from @lethalbit in microsoft/vscode#225314
The text was updated successfully, but these errors were encountered: