template<typename T> requires concept_which_does_not_exist<T> void foo(T) {} [update] presumably the correct answer is this is fact an error i.e. CLang is correct in reporting an error and VS is incorrect in not reporting an error as this is what chatGBT has informed . case closed . What I have tried: i have tried and succeeded in not reading the C++ specification as that is a tangle of weeds i do not wish to jump into . i have not searched internet as i expect this is rather archaic .
main
requires
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)