I have Clion 2019.1 and gcc-9.0.1(trunk). Code completion and syntax analyser don't recognize the concept
keyword and other c++2a features released in gcc-9.0.1.
In CmakeLists.txt
i use CMAKE_CXX_STANDARD 20
and compilers flags -fconcept -std=c++2a
The code compiles fine.
Try to use -fconcepts
command line option as described in https://gcc.gnu.org/projects/cxx-status.html
This may help.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.