It appears that prior to release 14, Apple LLVM did not really support C++20 concepts although it claims that it does. The following ugly hack might be needed:

#if defined(__APPLE__) && defined(__clang__)
#if __clang_major__ <= 13
//...
#endif
#endif

@yagiznizipli.com

Comments