Disambiguate __gnu_cxx::append_ partial specialization
authorTom Honermann <tom@honermann.net>
Fri, 22 Feb 2019 01:15:58 +0000 (01:15 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 22 Feb 2019 01:15:58 +0000 (01:15 +0000)
commit65bbaf3125f7c92be32e2e3b6c07e63e8ab0ccbc
tree4c914617a1ea1ad3dbf247bb2e3d2a2b0211c4f4
parentf08e60e9880be0ad53f7b3decc2cf8ee9377f5ac
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>.

From-SVN: r269088
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/typelist.h