In GCC 15.2.0, the following code compiles:
template<typename T> concept Can_sizeof = sizeof(T);


I don't know which rule in the ISO C++20, but this code doesn't compile under 
Clang 21.1.5: error: atomic constraint must be
      of type 'bool' (found 'unsigned long').

Reply via email to