Concept cannot be used as a type
Completed
Hey all,
when using C++ concepts I get the following error highlighting in Clion, but it compiles like a charme:

CXX_STANDARD is set to 20 and as I said, the compiler is not complaining. Why the highlighting?
Please sign in to leave a comment.
Hello!
So far, I can't reproduce the issue on my side in a default "Hello, World!" project (
File | New Project
>C++ Executable
>Create
):File | Settings | Advanced Settings
?File | New Project
>C++ Executable
>Create
)?1.
2. Ubuntu 24.04
3. gcc 13.3.0
4. Enabled
5. Nope, not reproducible. There it works.
This brings us to the more complicated fact that I use a compilation database, which is compiled externally like this:
https://www.jetbrains.com/help/clion/ros2-tutorial.html
Could you please invalidate all the caches (https://www.jetbrains.com/help/clion/invalidate-caches.html, please select all the options)? Does the issue happen after that?
Anna Falevskaya Unfortunately, this did not resolve it. Cleared all caches, deleted all build files, rebuild freshly, still linter issues.
Laxnpander, in this case, I kindly ask you to provide a simple project with which the issue can be reproduced to clion-support at jetbrains.com.