[PATCH] D84048: DR2303: Prefer 'nearer' base classes during template deduction.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 30 16:00:41 PDT 2020


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

Thanks, looks nice =)



================
Comment at: clang/lib/Sema/SemaTemplateDeduction.cpp:1205
+///  Attempt to deduce the template arguments by checking the base types
+///  according to (C++ [temp.deduct.call] p4b3.
+///
----------------



================
Comment at: clang/lib/Sema/SemaTemplateDeduction.cpp:1207-1217
+/// \param S the semantic analysis object within which we are deducing
+///
+/// \param RecordT the top level record object we are deducing against.
+///
+/// \param TemplateParams the template parameters that we are deducing
+///
+/// \param SpecParam the template specialization parameter type.
----------------



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84048/new/

https://reviews.llvm.org/D84048



More information about the cfe-commits mailing list