summaryrefslogtreecommitdiff
path: root/boost/intrusive/pack_options.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/intrusive/pack_options.hpp')
-rw-r--r--boost/intrusive/pack_options.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost/intrusive/pack_options.hpp b/boost/intrusive/pack_options.hpp
index 944243f661..ff07678fff 100644
--- a/boost/intrusive/pack_options.hpp
+++ b/boost/intrusive/pack_options.hpp
@@ -209,6 +209,12 @@ struct do_pack<typelist<Prev, Last> >
typedef typename Prev::template pack<Last> type;
};
+template<class ...Others>
+struct do_pack<typelist<void, Others...> >
+{
+ typedef typename do_pack<typelist<Others...> >::type type;
+};
+
template<class Prev, class ...Others>
struct do_pack<typelist<Prev, Others...> >
{