Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57758 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-18 15:34:59


Author: hkaiser
Date: 2009-11-18 15:34:57 EST (Wed, 18 Nov 2009)
New Revision: 57758
URL: http://svn.boost.org/trac/boost/changeset/57758

Log:
Spirit: doc updates
Text files modified:
   trunk/boost/spirit/home/support/container.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/support/container.hpp
==============================================================================
--- trunk/boost/spirit/home/support/container.hpp (original)
+++ trunk/boost/spirit/home/support/container.hpp 2009-11-18 15:34:57 EST (Wed, 18 Nov 2009)
@@ -251,6 +251,7 @@
     template <typename Container, typename T>
     void push_back(Container& c, T const& val);
 
+ //[customization_push_back_default
     template <typename Container, typename T, typename Enable/* = void*/>
     struct push_back_container
     {
@@ -259,6 +260,7 @@
             c.insert(c.end(), val);
         }
     };
+ //]
 
     template <typename Container, typename T>
     struct push_back_container<optional<Container>, T>
@@ -316,10 +318,12 @@
         push_back_container<Container, T>::call(c, val);
     }
 
+ //[customization_push_back_unused
     template <typename Container>
     void push_back(Container&, unused_type)
     {
     }
+ //]
 
     template <typename T>
     void push_back(unused_type, T const&)


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