I checked the support of gcc[1] and clang[2] for the cxx20 standard, gcc can partially support it, but the support of clang is poor. If it is upgraded, how to ensure the compatibility of the code under gcc and clang
[1] https://gcc.gnu.org/projects/cxx-status.html#cxx20 [2] https://clang.llvm.org/cxx_status.html#cxx20 Thanks Yang Zhengguo BiteTheDDDDt <pxl...@qq.com.invalid> 于2022年5月9日周一 15:54写道: > Hello everyone: > I want to update our c++ standard from gnu17 to gnu20, then we can use > some new feature such as `concept`,`coroutines`,`template lambda function`. > Currently our code doesn't need much modification to adapt to the c++20 > standard, this is my pull-request > https://github.com/apache/incubator-doris/pull/9313. > welcome to discuss this.