Skip to content
Snippets Groups Projects
Commit e09d907f authored by Jö Fahlke's avatar Jö Fahlke
Browse files

[TypeList] Don't needlessly instanciate type traits objects.

That can lead to problems when template parameters of the traits classes are
noninstantiable.
parent f7564304
No related branches found
No related tags found
1 merge request!12017-05 upstream merge
......@@ -62,7 +62,7 @@ namespace Dune {
* base class of type std::integral_constant<bool, result>.
*/
template<class T>
struct IsEmptyTypeList : std::integral_constant<bool, IsTypeList<T>() and std::is_same<T, TypeList<> >() > {};
struct IsEmptyTypeList : std::is_same<T, TypeList<> > {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment