[clang] [clang] check deduction consistency when partial ordering function templates (PR #100692)

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 18 14:01:24 PDT 2024


alexfh wrote:

It was faster than I thought. The original code for case 2 is indeed invalid. Having looked carefully at the two definitions of PrintTo, I clearly see they are violating ODR. And both are originating in the internal code, so nothing specific to Eigen. Thanks again for the good explanation!

https://github.com/llvm/llvm-project/pull/100692


More information about the cfe-commits mailing list