forked from boostorg/fusion
prelude to iterator_facade and sequence_facade
[SVN r35316]
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#define FUSION_SET_09162005_1104
|
||||
|
||||
#include <boost/fusion/support/sequence_base.hpp>
|
||||
#include <boost/fusion/support/category_of.hpp>
|
||||
#include <boost/fusion/support/detail/access.hpp>
|
||||
#include <boost/fusion/sequence/container/set/set_fwd.hpp>
|
||||
#include <boost/fusion/sequence/container/set/detail/lookup_key.hpp>
|
||||
@ -16,7 +17,6 @@
|
||||
#include <boost/fusion/sequence/container/set/detail/end_impl.hpp>
|
||||
#include <boost/fusion/sequence/container/set/detail/at_key_impl.hpp>
|
||||
#include <boost/fusion/sequence/container/set/detail/value_at_key_impl.hpp>
|
||||
#include <boost/fusion/sequence/container/set/detail/is_associative_impl.hpp>
|
||||
#include <boost/fusion/sequence/container/vector/vector.hpp>
|
||||
#include <boost/mpl/identity.hpp>
|
||||
#include <boost/mpl/bool.hpp>
|
||||
@ -25,15 +25,15 @@ namespace boost { namespace fusion
|
||||
{
|
||||
struct void_;
|
||||
struct set_tag;
|
||||
struct forward_sequence_tag;
|
||||
struct fusion_sequence_tag;
|
||||
|
||||
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_SET_SIZE, typename T)>
|
||||
struct set : sequence_base<set<BOOST_PP_ENUM_PARAMS(FUSION_MAX_SET_SIZE, T)> >
|
||||
{
|
||||
struct category : forward_traversal_tag, associative_sequence_tag {};
|
||||
|
||||
typedef set_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef forward_sequence_tag category;
|
||||
typedef mpl::false_ is_view;
|
||||
|
||||
typedef vector<
|
||||
|
Reference in New Issue
Block a user