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"
template <typename... T> constexpr auto first_plus_last(T... values) -> T...[0] { return T...[0](values...[0] + values...[sizeof...(values)-1]); } int main() { // first_plus_last(); // ill formed static_assert(first_plus_last(1, 2, 10) == 11); }
(from P2662R3, the paper that introduced pack indexing)
(Dark+)
static_assert should be blue, not yellow.
static_assert
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Checklist
"C_Cpp.enhancedColorization": "Disabled"
The code with a problem is:
(from P2662R3, the paper that introduced pack indexing)
It looks like:
(Dark+)
It should look like:
static_assert
should be blue, not yellow.The text was updated successfully, but these errors were encountered: