From b54e4b1b066481781443b2ff05a078281ddc3d4c Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Sun, 3 Apr 2011 23:20:13 +0000 Subject: [PATCH] MPL bug workaround. Fixes Trac ticket: #5411 [SVN r70965] --- include/boost/fusion/view/joint_view/joint_view.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/fusion/view/joint_view/joint_view.hpp b/include/boost/fusion/view/joint_view/joint_view.hpp index e0d5c090..2a2051b1 100644 --- a/include/boost/fusion/view/joint_view/joint_view.hpp +++ b/include/boost/fusion/view/joint_view/joint_view.hpp @@ -1,7 +1,7 @@ /*============================================================================= Copyright (c) 2001-2006 Joel de Guzman - Distributed under the Boost Software License, Version 1.0. (See accompanying + Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #if !defined(FUSION_JOINT_VIEW_07162005_0140) @@ -50,7 +50,9 @@ namespace boost { namespace fusion typedef typename result_of::end::type last_type; typedef typename result_of::begin::type concat_type; typedef typename result_of::end::type concat_last_type; - typedef typename mpl::plus, result_of::size >::type size; + typedef typename mpl::int_< + result_of::size::value + result_of::size::value> + size; joint_view(Sequence1& in_seq1, Sequence2& in_seq2) : seq1(in_seq1)