forked from boostorg/fusion
adapt plain old array types (3)
[SVN r59578]
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
|
||||
namespace extension
|
||||
{
|
||||
@ -22,7 +22,7 @@ namespace boost { namespace fusion {
|
||||
struct at_impl;
|
||||
|
||||
template<>
|
||||
struct at_impl<array_tag>
|
||||
struct at_impl<boost_array_tag>
|
||||
{
|
||||
template<typename Sequence, typename N>
|
||||
struct apply
|
||||
|
@ -8,11 +8,11 @@
|
||||
#if !defined(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 {
|
||||
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
|
||||
namespace extension
|
||||
{
|
||||
@ -20,7 +20,7 @@ namespace boost { namespace fusion {
|
||||
struct begin_impl;
|
||||
|
||||
template <>
|
||||
struct begin_impl<array_tag>
|
||||
struct begin_impl<boost_array_tag>
|
||||
{
|
||||
template <typename Sequence>
|
||||
struct apply
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
struct random_access_traversal_tag;
|
||||
|
||||
namespace extension
|
||||
@ -21,7 +21,7 @@ namespace boost { namespace fusion {
|
||||
struct category_of_impl;
|
||||
|
||||
template<>
|
||||
struct category_of_impl<array_tag>
|
||||
struct category_of_impl<boost_array_tag>
|
||||
{
|
||||
template<typename T>
|
||||
struct apply
|
||||
|
@ -8,11 +8,11 @@
|
||||
#if !defined(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 {
|
||||
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
|
||||
namespace extension
|
||||
{
|
||||
@ -20,7 +20,7 @@ namespace boost { namespace fusion {
|
||||
struct end_impl;
|
||||
|
||||
template <>
|
||||
struct end_impl<array_tag>
|
||||
struct end_impl<boost_array_tag>
|
||||
{
|
||||
template <typename Sequence>
|
||||
struct apply
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
|
||||
namespace extension
|
||||
{
|
||||
@ -20,7 +20,7 @@ namespace boost { namespace fusion {
|
||||
struct is_sequence_impl;
|
||||
|
||||
template<>
|
||||
struct is_sequence_impl<array_tag>
|
||||
struct is_sequence_impl<boost_array_tag>
|
||||
{
|
||||
template<typename Sequence>
|
||||
struct apply : mpl::true_ {};
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
|
||||
namespace extension
|
||||
{
|
||||
@ -20,7 +20,7 @@ namespace boost { namespace fusion
|
||||
struct is_view_impl;
|
||||
|
||||
template<>
|
||||
struct is_view_impl<array_tag>
|
||||
struct is_view_impl<boost_array_tag>
|
||||
{
|
||||
template<typename T>
|
||||
struct apply : mpl::false_
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
|
||||
namespace extension
|
||||
{
|
||||
@ -18,7 +18,7 @@ namespace boost { namespace fusion {
|
||||
struct size_impl;
|
||||
|
||||
template<>
|
||||
struct size_impl<array_tag>
|
||||
struct size_impl<boost_array_tag>
|
||||
{
|
||||
template<typename Sequence>
|
||||
struct apply : mpl::int_<Sequence::static_size> {};
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
|
||||
namespace extension
|
||||
{
|
||||
@ -18,7 +18,7 @@ namespace boost { namespace fusion {
|
||||
struct value_at_impl;
|
||||
|
||||
template <>
|
||||
struct value_at_impl<array_tag>
|
||||
struct value_at_impl<boost_array_tag>
|
||||
{
|
||||
template <typename Sequence, typename N>
|
||||
struct apply
|
||||
|
@ -20,7 +20,7 @@ namespace boost
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct array_tag;
|
||||
struct boost_array_tag;
|
||||
struct fusion_sequence_tag;
|
||||
|
||||
namespace traits
|
||||
@ -32,7 +32,7 @@ namespace boost { namespace fusion
|
||||
struct tag_of<boost::array<T,N> >
|
||||
#endif
|
||||
{
|
||||
typedef array_tag type;
|
||||
typedef boost_array_tag type;
|
||||
};
|
||||
}
|
||||
}}
|
||||
|
Reference in New Issue
Block a user