[libcxx-commits] [libcxx] [libc++] Avoid -Wzero-as-null-pointer-constant in operator<=> (PR #79465)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 25 14:41:19 PST 2024
ldionne wrote:
Ok, so IIUC basically you need the `== 0` condition to be something that SFINAEs-away the overload. I'm not sure whether that's the case with `__diagnose_if__`, but maybe @cor3ntin has something to suggest? Maybe the `__enable_if` attribute?
https://github.com/llvm/llvm-project/pull/79465
More information about the libcxx-commits
mailing list