[PATCH] D45680: [C++2a] Add operator<=> Rewriting - Early Attempt
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 5 21:20:05 PDT 2018
EricWF added inline comments.
================
Comment at: lib/Sema/SemaOverload.cpp:9177
+ // specified in C++2a [over.match.oper]p1.10.
+ if (RewrittenCandidateTieBreaker && ICS1.isStandard() &&
+ ICS2.isStandard() && ICS1.Standard.getRank() == ICR_Exact_Match &&
----------------
This doesn't seem anywhere close to correct, but It's the best I've come up with so far.
For now though, it seems nice to avoid the ambiguity caused by the current specification.
https://reviews.llvm.org/D45680
More information about the cfe-commits
mailing list