forked from boostorg/fusion
fixing issues with fusion zip_view size on intel
[SVN r38167]
This commit is contained in:
@ -61,9 +61,13 @@ namespace boost { namespace fusion
|
||||
{
|
||||
template <typename First, typename Last>
|
||||
struct distance
|
||||
: extension::distance_impl<typename detail::tag_of<First>::type>::
|
||||
template apply<First, Last>
|
||||
{};
|
||||
: extension::distance_impl<typename detail::tag_of<First>::type>::
|
||||
template apply<First, Last>
|
||||
{
|
||||
typedef typename extension::distance_impl<typename detail::tag_of<First>::type>::
|
||||
template apply<First, Last>::type distance_application;
|
||||
BOOST_STATIC_CONSTANT(int, value = distance_application::value);
|
||||
};
|
||||
}
|
||||
|
||||
template <typename First, typename Last>
|
||||
|
@ -53,8 +53,13 @@ namespace boost { namespace fusion
|
||||
template <typename Sequence>
|
||||
struct size
|
||||
: extension::size_impl<typename detail::tag_of<Sequence>::type>::
|
||||
template apply<Sequence>
|
||||
{};
|
||||
template apply<Sequence>
|
||||
|
||||
{
|
||||
typedef typename extension::size_impl<typename detail::tag_of<Sequence>::type>::
|
||||
template apply<Sequence>::type size_application;
|
||||
BOOST_STATIC_CONSTANT(int, value = size_application::value);
|
||||
};
|
||||
}
|
||||
|
||||
template <typename Sequence>
|
||||
|
@ -25,8 +25,9 @@ namespace boost { namespace fusion {
|
||||
{
|
||||
template<typename Sequence>
|
||||
struct apply
|
||||
: Sequence::size
|
||||
{};
|
||||
{
|
||||
typedef typename Sequence::size type;
|
||||
};
|
||||
};
|
||||
}
|
||||
}}
|
||||
|
Reference in New Issue
Block a user