fix trac issue #1608

[SVN r53915]
This commit is contained in:
Joel de Guzman
2009-06-15 01:54:01 +00:00
parent 363ff5750f
commit 63ce990a8c
5 changed files with 10 additions and 9 deletions

View File

@@ -31,14 +31,14 @@ namespace boost { namespace fusion { namespace detail
template <typename Iterator>
struct apply
{
typedef vector0 type;
typedef vector0<> type;
};
template <typename Iterator>
static typename apply<Iterator>::type
call(Iterator)
{
return vector0();
return vector0<>();
}
};

View File

@@ -48,7 +48,7 @@ namespace boost { namespace fusion { namespace detail
template <>
struct vector_n_chooser<BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, void_ BOOST_PP_INTERCEPT)>
{
typedef vector0 type;
typedef vector0<> type;
};
#define BOOST_PP_FILENAME_1 \