forked from boostorg/fusion
baking segmented Fusion
[SVN r73854]
This commit is contained in:
@ -7,9 +7,14 @@
|
||||
#if !defined(FUSION_END_04052005_1141)
|
||||
#define FUSION_END_04052005_1141
|
||||
|
||||
#include <boost/blank.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic_fwd.hpp>
|
||||
#include <boost/fusion/support/tag_of.hpp>
|
||||
#include <boost/fusion/support/is_sequence.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/fusion/support/is_segmented.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/detail/segmented_end.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
@ -26,7 +31,13 @@ namespace boost { namespace fusion
|
||||
struct end_impl
|
||||
{
|
||||
template <typename Sequence>
|
||||
struct apply;
|
||||
struct apply
|
||||
: mpl::if_<
|
||||
traits::is_segmented<Sequence>
|
||||
, detail::segmented_end<Sequence>
|
||||
, blank
|
||||
>::type
|
||||
{};
|
||||
};
|
||||
|
||||
template <>
|
||||
|
Reference in New Issue
Block a user