mizvekov wrote: Clang does crash with one of the included test cases, if you try to actually use the function: https://godbolt.org/z/e6e6Ehjoj
My reading is that using a static function with placeholder type before it has been deduced is ill-formed, per https://eel.is/c++draft/dcl.spec.auto#general-13 https://github.com/llvm/llvm-project/pull/124609 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits