From bcbd2ff112b1afab325f960cb0c5b42b4866d0bb Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Wed, 19 Dec 2007 10:42:04 +0000 Subject: [PATCH] tweakbug fix for end_impl (tweak). [SVN r42167] --- include/boost/fusion/adapted/struct/detail/end_impl.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/fusion/adapted/struct/detail/end_impl.hpp b/include/boost/fusion/adapted/struct/detail/end_impl.hpp index ffb2e77d..514f7f58 100644 --- a/include/boost/fusion/adapted/struct/detail/end_impl.hpp +++ b/include/boost/fusion/adapted/struct/detail/end_impl.hpp @@ -9,7 +9,6 @@ #define BOOST_FUSION_END_IMPL_24122005_1755 #include -#include namespace boost { namespace fusion { @@ -20,6 +19,9 @@ namespace boost { namespace fusion template struct end_impl; + template + struct struct_size; + template <> struct end_impl { @@ -29,7 +31,7 @@ namespace boost { namespace fusion typedef struct_iterator< Sequence - , size_impl::template apply::value + , struct_size::value > type;