Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55672 - trunk/boost/mpl/aux_
From: steven_at_[hidden]
Date: 2009-08-19 18:52:27


Author: steven_watanabe
Date: 2009-08-19 18:52:27 EDT (Wed, 19 Aug 2009)
New Revision: 55672
URL: http://svn.boost.org/trac/boost/changeset/55672

Log:
Provide definitions for the dummy structs used by has_push_back_impl and has_push_front_impl so that they work with Fusion containers. Fixes #3337.
Text files modified:
   trunk/boost/mpl/aux_/push_back_impl.hpp | 2 +-
   trunk/boost/mpl/aux_/push_front_impl.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/mpl/aux_/push_back_impl.hpp
==============================================================================
--- trunk/boost/mpl/aux_/push_back_impl.hpp (original)
+++ trunk/boost/mpl/aux_/push_back_impl.hpp 2009-08-19 18:52:27 EDT (Wed, 19 Aug 2009)
@@ -25,7 +25,7 @@
 
 namespace boost { namespace mpl {
 
-struct has_push_back_arg;
+struct has_push_back_arg {};
 
 // agurt 05/feb/04: no default implementation; the stub definition is needed
 // to enable the default 'has_push_back' implementation below

Modified: trunk/boost/mpl/aux_/push_front_impl.hpp
==============================================================================
--- trunk/boost/mpl/aux_/push_front_impl.hpp (original)
+++ trunk/boost/mpl/aux_/push_front_impl.hpp 2009-08-19 18:52:27 EDT (Wed, 19 Aug 2009)
@@ -25,7 +25,7 @@
 
 namespace boost { namespace mpl {
 
-struct has_push_front_arg;
+struct has_push_front_arg {};
 
 // agurt 05/feb/04: no default implementation; the stub definition is needed
 // to enable the default 'has_push_front' implementation below


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk