1
0
forked from boostorg/mpl

Merged revisions 63024 via svnmerge from

https://svn.boost.org/svn/boost/trunk

........
  r63024 | eric_niebler | 2010-06-16 13:57:41 -0400 (Wed, 16 Jun 2010) | 1 line
  
  make mpl::string work with mpl::transform
........


[SVN r63079]
This commit is contained in:
Eric Niebler
2010-06-18 13:21:30 +00:00
parent 9e138e28ca
commit e66d77051e

View File

@@ -240,6 +240,18 @@ namespace boost { namespace mpl
}; };
}; };
template<typename Tag>
struct has_push_back_impl;
template<>
struct has_push_back_impl<mpl::string_tag>
{
template<typename Sequence>
struct apply
: mpl::true_
{};
};
template<typename Tag> template<typename Tag>
struct pop_back_impl; struct pop_back_impl;
@@ -267,6 +279,18 @@ namespace boost { namespace mpl
#undef M0 #undef M0
}; };
template<typename Tag>
struct has_pop_back_impl;
template<>
struct has_pop_back_impl<mpl::string_tag>
{
template<typename Sequence>
struct apply
: mpl::true_
{};
};
template<typename Tag> template<typename Tag>
struct push_front_impl; struct push_front_impl;
@@ -341,6 +365,18 @@ namespace boost { namespace mpl
}; };
}; };
template<typename Tag>
struct has_push_front_impl;
template<>
struct has_push_front_impl<mpl::string_tag>
{
template<typename Sequence>
struct apply
: mpl::true_
{};
};
template<typename Tag> template<typename Tag>
struct pop_front_impl; struct pop_front_impl;
@@ -375,6 +411,18 @@ namespace boost { namespace mpl
}; };
}; };
template<typename Tag>
struct has_pop_front_impl;
template<>
struct has_pop_front_impl<mpl::string_tag>
{
template<typename Sequence>
struct apply
: mpl::true_
{};
};
template<typename Tag> template<typename Tag>
struct insert_range_impl; struct insert_range_impl;