diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fab28f42079..904da1ba4c9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2019-02-22 Tom Honermann + + * include/ext/typelist.h: Constrain a partial specialization of + typelist::detail::append_ to only match chain. + 2019-02-21 Jonathan Wakely PR libstdc++/89416 diff --git a/libstdc++-v3/include/ext/typelist.h b/libstdc++-v3/include/ext/typelist.h index 2806814028a..a6223aeb272 100644 --- a/libstdc++-v3/include/ext/typelist.h +++ b/libstdc++-v3/include/ext/typelist.h @@ -215,10 +215,10 @@ namespace detail typedef Typelist_Chain type; }; - template - struct append_ + template + struct append_, null_type> { - typedef Typelist_Chain type; + typedef chain type; }; template<>