Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55544 - in trunk/boost/spirit/home: karma qi
From: frabar666_at_[hidden]
Date: 2009-08-12 08:41:35


Author: fbarel
Date: 2009-08-12 08:41:33 EDT (Wed, 12 Aug 2009)
New Revision: 55544
URL: http://svn.boost.org/trac/boost/changeset/55544

Log:
Spirit: add subject_type typedef to reference
Text files modified:
   trunk/boost/spirit/home/karma/reference.hpp | 2 ++
   trunk/boost/spirit/home/qi/reference.hpp | 2 ++
   2 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/karma/reference.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/reference.hpp (original)
+++ trunk/boost/spirit/home/karma/reference.hpp 2009-08-12 08:41:33 EDT (Wed, 12 Aug 2009)
@@ -26,6 +26,8 @@
     {
         typedef mpl::int_<generator_properties::all_properties> properties;
 
+ typedef Subject subject_type;
+
         reference(Subject& subject)
           : ref(subject) {}
 

Modified: trunk/boost/spirit/home/qi/reference.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/reference.hpp (original)
+++ trunk/boost/spirit/home/qi/reference.hpp 2009-08-12 08:41:33 EDT (Wed, 12 Aug 2009)
@@ -24,6 +24,8 @@
     template <typename Subject>
     struct reference : parser<reference<Subject> >
     {
+ typedef Subject subject_type;
+
         reference(Subject& subject)
           : ref(subject) {}
 


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