Skip to content

Commit

Permalink
🧑‍💻 add default type for typelist tail
Browse files Browse the repository at this point in the history
  • Loading branch information
zie87 committed Oct 13, 2023
1 parent 519d6ad commit c241668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/zll/meta/types/typelist/typelist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace zll {
namespace meta {

template <typename HEAD_T, typename TAIL_T>
template <typename HEAD_T, typename TAIL_T = nil_type>
struct typelist {
typedef HEAD_T head_type;
typedef TAIL_T tail_type;
Expand Down

0 comments on commit c241668

Please sign in to comment.