aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/list/list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/list/list.h b/src/list/list.h
index d2a5cb0..658ac31 100644
--- a/src/list/list.h
+++ b/src/list/list.h
@@ -31,6 +31,11 @@ struct List<void, Tail...> {
typedef typename List<Tail...>::type type;
};
+template <>
+struct List<void, void> {
+ typedef void type;
+};
+
template <
typename Type,
Type... Values