Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/Sema/SemaTemplateDeduction.cpp
Context not available. | |||||
if (ARef) | if (ARef) | ||||
A = A->getPointeeType(); | A = A->getPointeeType(); | ||||
if (PRef && ARef && S.Context.hasSameUnqualifiedType(P, A)) { | if (PRef && ARef) { | ||||
// C++11 [temp.deduct.partial]p9: | // C++11 [temp.deduct.partial]p9: | ||||
// If, for a given type, deduction succeeds in both directions (i.e., | // If, for a given type, deduction succeeds in both directions (i.e., | ||||
// the types are identical after the transformations above) and both | // the types are identical after the transformations above) and both | ||||
Context not available. |