From a2874ea5fe76419857521a7ae60716e19854d00c Mon Sep 17 00:00:00 2001 From: alfC Date: Tue, 4 Feb 2014 11:33:06 -0800 Subject: [PATCH] Changed static assertion that checks array size to a more standard way. This avoids an obscure error involving `extension::std_array_size` --- boost/fusion/adapted/std_array/std_array_iterator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boost/fusion/adapted/std_array/std_array_iterator.hpp b/boost/fusion/adapted/std_array/std_array_iterator.hpp index f52c7c71..29584512 100644 --- a/boost/fusion/adapted/std_array/std_array_iterator.hpp +++ b/boost/fusion/adapted/std_array/std_array_iterator.hpp @@ -28,7 +28,7 @@ namespace boost { namespace fusion : iterator_facade, random_access_traversal_tag> { BOOST_MPL_ASSERT_RELATION(Pos, >=, 0); - BOOST_MPL_ASSERT_RELATION(Pos, <=, static_cast(extension::std_array_size::value)); + BOOST_MPL_ASSERT_RELATION(Pos, <=, std::tuple_size::value); typedef mpl::int_ index; typedef Array array_type;