From a5ba97129732dad17542a6487231b70e60cb8a97 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Wed, 16 Jun 2010 17:57:41 +0000 Subject: [PATCH] make mpl::string work with mpl::transform [SVN r63024] --- include/boost/mpl/string.hpp | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/include/boost/mpl/string.hpp b/include/boost/mpl/string.hpp index 6a9481a..c62d8ab 100644 --- a/include/boost/mpl/string.hpp +++ b/include/boost/mpl/string.hpp @@ -240,6 +240,18 @@ namespace boost { namespace mpl }; }; + template + struct has_push_back_impl; + + template<> + struct has_push_back_impl + { + template + struct apply + : mpl::true_ + {}; + }; + template struct pop_back_impl; @@ -267,6 +279,18 @@ namespace boost { namespace mpl #undef M0 }; + template + struct has_pop_back_impl; + + template<> + struct has_pop_back_impl + { + template + struct apply + : mpl::true_ + {}; + }; + template struct push_front_impl; @@ -341,6 +365,18 @@ namespace boost { namespace mpl }; }; + template + struct has_push_front_impl; + + template<> + struct has_push_front_impl + { + template + struct apply + : mpl::true_ + {}; + }; + template struct pop_front_impl; @@ -375,6 +411,18 @@ namespace boost { namespace mpl }; }; + template + struct has_pop_front_impl; + + template<> + struct has_pop_front_impl + { + template + struct apply + : mpl::true_ + {}; + }; + template struct insert_range_impl;