This is an archive of the discontinued LLVM Phabricator instance.

[Sema] ADL: Template arguments in a template-id naming a set of overloaded functions (part of CWG 997)
Needs ReviewPublic

Authored by riccibruno on Apr 14 2019, 6:20 AM.

Details

Summary

CWG 997 added the following wording at the end of [basic.lookup.argdep]p2

[...] Additionally, if the aforementioned set of overloaded functions is named with a template-id, its associated classes and namespaces are those of its type template-arguments and its template template-arguments.

This resolve CWG 1015 and part of CWG 997 (I will mark it as done when the rest of it is implemented).

Diff Detail

Repository
rC Clang

Event Timeline

riccibruno created this revision.Apr 14 2019, 6:20 AM

For information we are discussing in D60570 whether it is actually a good idea to implement this rule.

@rsmith Do you have an opinion on whether this ADL rule should be implemented ?