adapt plain old array types (3)

[SVN r59578]
This commit is contained in:
Christopher Schmidt
2010-02-07 19:12:26 +00:00
parent 47f535df5b
commit bb88841f47
9 changed files with 20 additions and 20 deletions

View File

@ -14,7 +14,7 @@
namespace boost { namespace fusion { namespace boost { namespace fusion {
struct array_tag; struct boost_array_tag;
namespace extension namespace extension
{ {
@ -22,7 +22,7 @@ namespace boost { namespace fusion {
struct at_impl; struct at_impl;
template<> template<>
struct at_impl<array_tag> struct at_impl<boost_array_tag>
{ {
template<typename Sequence, typename N> template<typename Sequence, typename N>
struct apply struct apply

View File

@ -8,11 +8,11 @@
#if !defined(BOOST_FUSION_BEGIN_IMPL_27122005_1117) #if !defined(BOOST_FUSION_BEGIN_IMPL_27122005_1117)
#define BOOST_FUSION_BEGIN_IMPL_27122005_1117 #define BOOST_FUSION_BEGIN_IMPL_27122005_1117
#include <boost/fusion/adapted/array/array_iterator.hpp> #include <boost/fusion/adapted/boost_array/array_iterator.hpp>
namespace boost { namespace fusion { namespace boost { namespace fusion {
struct array_tag; struct boost_array_tag;
namespace extension namespace extension
{ {
@ -20,7 +20,7 @@ namespace boost { namespace fusion {
struct begin_impl; struct begin_impl;
template <> template <>
struct begin_impl<array_tag> struct begin_impl<boost_array_tag>
{ {
template <typename Sequence> template <typename Sequence>
struct apply struct apply

View File

@ -12,7 +12,7 @@
namespace boost { namespace fusion { namespace boost { namespace fusion {
struct array_tag; struct boost_array_tag;
struct random_access_traversal_tag; struct random_access_traversal_tag;
namespace extension namespace extension
@ -21,7 +21,7 @@ namespace boost { namespace fusion {
struct category_of_impl; struct category_of_impl;
template<> template<>
struct category_of_impl<array_tag> struct category_of_impl<boost_array_tag>
{ {
template<typename T> template<typename T>
struct apply struct apply

View File

@ -8,11 +8,11 @@
#if !defined(BOOST_FUSION_END_IMPL_27122005_1120) #if !defined(BOOST_FUSION_END_IMPL_27122005_1120)
#define BOOST_FUSION_END_IMPL_27122005_1120 #define BOOST_FUSION_END_IMPL_27122005_1120
#include <boost/fusion/adapted/array/array_iterator.hpp> #include <boost/fusion/adapted/boost_array/array_iterator.hpp>
namespace boost { namespace fusion { namespace boost { namespace fusion {
struct array_tag; struct boost_array_tag;
namespace extension namespace extension
{ {
@ -20,7 +20,7 @@ namespace boost { namespace fusion {
struct end_impl; struct end_impl;
template <> template <>
struct end_impl<array_tag> struct end_impl<boost_array_tag>
{ {
template <typename Sequence> template <typename Sequence>
struct apply struct apply

View File

@ -12,7 +12,7 @@
namespace boost { namespace fusion { namespace boost { namespace fusion {
struct array_tag; struct boost_array_tag;
namespace extension namespace extension
{ {
@ -20,7 +20,7 @@ namespace boost { namespace fusion {
struct is_sequence_impl; struct is_sequence_impl;
template<> template<>
struct is_sequence_impl<array_tag> struct is_sequence_impl<boost_array_tag>
{ {
template<typename Sequence> template<typename Sequence>
struct apply : mpl::true_ {}; struct apply : mpl::true_ {};

View File

@ -12,7 +12,7 @@
namespace boost { namespace fusion namespace boost { namespace fusion
{ {
struct array_tag; struct boost_array_tag;
namespace extension namespace extension
{ {
@ -20,7 +20,7 @@ namespace boost { namespace fusion
struct is_view_impl; struct is_view_impl;
template<> template<>
struct is_view_impl<array_tag> struct is_view_impl<boost_array_tag>
{ {
template<typename T> template<typename T>
struct apply : mpl::false_ struct apply : mpl::false_

View File

@ -10,7 +10,7 @@
namespace boost { namespace fusion { namespace boost { namespace fusion {
struct array_tag; struct boost_array_tag;
namespace extension namespace extension
{ {
@ -18,7 +18,7 @@ namespace boost { namespace fusion {
struct size_impl; struct size_impl;
template<> template<>
struct size_impl<array_tag> struct size_impl<boost_array_tag>
{ {
template<typename Sequence> template<typename Sequence>
struct apply : mpl::int_<Sequence::static_size> {}; struct apply : mpl::int_<Sequence::static_size> {};

View File

@ -10,7 +10,7 @@
namespace boost { namespace fusion { namespace boost { namespace fusion {
struct array_tag; struct boost_array_tag;
namespace extension namespace extension
{ {
@ -18,7 +18,7 @@ namespace boost { namespace fusion {
struct value_at_impl; struct value_at_impl;
template <> template <>
struct value_at_impl<array_tag> struct value_at_impl<boost_array_tag>
{ {
template <typename Sequence, typename N> template <typename Sequence, typename N>
struct apply struct apply

View File

@ -20,7 +20,7 @@ namespace boost
namespace boost { namespace fusion namespace boost { namespace fusion
{ {
struct array_tag; struct boost_array_tag;
struct fusion_sequence_tag; struct fusion_sequence_tag;
namespace traits namespace traits
@ -32,7 +32,7 @@ namespace boost { namespace fusion
struct tag_of<boost::array<T,N> > struct tag_of<boost::array<T,N> >
#endif #endif
{ {
typedef array_tag type; typedef boost_array_tag type;
}; };
} }
}} }}