Skip to content
Commit 848934c6 authored by Richard Smith's avatar Richard Smith
Browse files

[c++20] Fix handling of unqualified lookups from a defaulted comparison

function.

We need to perform unqualified lookups from the context of a defaulted
comparison, but not until we implicitly define the function, at which
point we can't do those lookups any more. So perform the lookup from the
end of the class containing the =default declaration and store the
lookup results on the defaulted function until we synthesize the body.
parent 6507e135
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment