]> git.ipfire.org Git - thirdparty/gcc.git/commit
Disambiguate __gnu_cxx::append_ partial specialization
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Feb 2019 01:15:58 +0000 (01:15 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Feb 2019 01:15:58 +0000 (01:15 +0000)
commitef96a935ae1d65bd9e5592e3f7b78b0d10c1839c
tree4c914617a1ea1ad3dbf247bb2e3d2a2b0211c4f4
parentb16aca534edba75f3b9c79cf45341a33cd016ef1
Disambiguate __gnu_cxx::append_ partial specialization

This patch corrects ambiguous partial specializations of
typelist::detail::append_.  Previously, neither append_<chain<Hd, Tl>,
Typelist_Chain> nor append_<Typelist_Chain, null_type> was a better
match for append_<chain<Hd, Tl>, null_type>.

2019-02-22  Tom Honermann  <tom@honermann.net>

* include/ext/typelist.h: Constrain a partial specialization of
typelist::detail::append_ to only match chain<T1,T2>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@269088 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/typelist.h