diff --git a/repos/base/include/util/meta.h b/repos/base/include/util/meta.h index 17333d5f9..53256f75c 100644 --- a/repos/base/include/util/meta.h +++ b/repos/base/include/util/meta.h @@ -87,41 +87,17 @@ namespace Genode { /** * Type list with variable number of types */ - template + template struct Type_list; template <> - struct Type_list { typedef Empty Head; }; + struct Type_list<> { typedef Empty Head; }; - template - struct Type_list : public Type_tuple { }; - - template - struct Type_list : public Type_tuple > { }; - - template - struct Type_list : public Type_tuple > { }; - - template - struct Type_list : public Type_tuple > { }; - - template - struct Type_list : public Type_tuple > { }; - - template - struct Type_list : public Type_tuple > { }; - - template - struct Type_list : public Type_tuple > { }; - - template - struct Type_list : public Type_tuple > { }; - - template - struct Type_list : public Type_tuple > { }; + template + struct Type_list : Type_tuple { }; + template + struct Type_list : Type_tuple > { }; /** * Macro for wrapping the 'Type_list' template