Skip to content
New issue

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

Missing highlight of template params and requires in lambda expressions with an explicit template parameter list #667

Open
1 task done
EienMiku opened this issue Nov 21, 2024 · 0 comments

Comments

@EienMiku
Copy link

EienMiku commented Nov 21, 2024

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"

The code with a problem is:

auto f = []<typename t>
    requires std::is_same_v<t, int>
{};
auto g = []<class t>
    requires std::is_same_v<t, int>
{};
auto h = []<int t>
    requires true
{};

👆Lambda expressions with an explicit template parameter list (always generic) (since C++20)

It looks like:

The theme is Default Dark Modern.
image

It should look like:

lambda

@EienMiku EienMiku changed the title Missing highlight of template params in lambda expressions with an explicit template parameter list Missing highlight of template params and requires in lambda expressions with an explicit template parameter list Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant