[PATCH] D128745: [c++] implements DR692, DR1395 and tentatively DR1432, about partial ordering of variadic template partial specialization or function template
Tom Honermann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 22 13:10:41 PDT 2022
tahonermann added a comment.
This change appears to be responsible for the following test case now being rejected. That seems right and is consistent with the intent, but use of `-fclang-abi-compat=14` doesn't seem to restore the prior behavior. https://godbolt.org/z/ad1TPjTza
struct map
{
template <typename Sequence>
map(Sequence&& seq , void* = 0 ); // g++ prefers this one
template <typename First, typename ...T_>
map(First&& first, T_&&... rest);
};
int main()
{
int i;
map m(i);
return 0;
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128745/new/
https://reviews.llvm.org/D128745
More information about the cfe-commits
mailing list