MPL bug workaround. Fixes Trac ticket: #5411

[SVN r70965]
This commit is contained in:
Joel de Guzman
2011-04-03 23:20:13 +00:00
parent b3226a5107
commit b54e4b1b06

View File

@ -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<Sequence1>::type last_type;
typedef typename result_of::begin<Sequence2>::type concat_type;
typedef typename result_of::end<Sequence2>::type concat_last_type;
typedef typename mpl::plus<result_of::size<Sequence1>, result_of::size<Sequence2> >::type size;
typedef typename mpl::int_<
result_of::size<Sequence1>::value + result_of::size<Sequence2>::value>
size;
joint_view(Sequence1& in_seq1, Sequence2& in_seq2)
: seq1(in_seq1)