Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55038 - in trunk/boost/spirit/home/karma: . directive operator
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-19 22:48:01


Author: hkaiser
Date: 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
New Revision: 55038
URL: http://svn.boost.org/trac/boost/changeset/55038

Log:
Spirit: commented work in progress
Text files modified:
   trunk/boost/spirit/home/karma/directive/center_alignment.hpp | 2 +-
   trunk/boost/spirit/home/karma/directive/left_alignment.hpp | 2 +-
   trunk/boost/spirit/home/karma/directive/maxwidth.hpp | 2 +-
   trunk/boost/spirit/home/karma/directive/repeat.hpp | 2 +-
   trunk/boost/spirit/home/karma/directive/right_alignment.hpp | 2 +-
   trunk/boost/spirit/home/karma/generator.hpp | 6 +++---
   trunk/boost/spirit/home/karma/operator/alternative.hpp | 2 +-
   trunk/boost/spirit/home/karma/operator/and_predicate.hpp | 2 +-
   trunk/boost/spirit/home/karma/operator/not_predicate.hpp | 2 +-
   trunk/boost/spirit/home/karma/operator/sequence.hpp | 36 ++++++++++++++++++------------------
   10 files changed, 29 insertions(+), 29 deletions(-)

Modified: trunk/boost/spirit/home/karma/directive/center_alignment.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/center_alignment.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/center_alignment.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -128,7 +128,7 @@
     struct simple_center_alignment
       : unary_generator<simple_center_alignment<Subject, Width> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Subject subject_type;
 
         template <typename Context, typename Unused>

Modified: trunk/boost/spirit/home/karma/directive/left_alignment.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/left_alignment.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/left_alignment.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -111,7 +111,7 @@
     struct simple_left_alignment
       : unary_generator<simple_left_alignment<Subject, Width> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Subject subject_type;
 
         template <typename Context, typename Unused>

Modified: trunk/boost/spirit/home/karma/directive/maxwidth.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/maxwidth.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/maxwidth.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -133,7 +133,7 @@
     struct maxwidth_width
       : unary_generator<maxwidth_width<Subject, Width, Rest> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Subject subject_type;
 
         template <typename Context, typename Unused>

Modified: trunk/boost/spirit/home/karma/directive/repeat.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/repeat.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/repeat.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -124,7 +124,7 @@
     struct repeat_generator
       : unary_generator<repeat_generator<Subject, LoopIter> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Subject subject_type;
 
         template <typename Context, typename Unused>

Modified: trunk/boost/spirit/home/karma/directive/right_alignment.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/directive/right_alignment.hpp (original)
+++ trunk/boost/spirit/home/karma/directive/right_alignment.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -121,7 +121,7 @@
     struct simple_right_alignment
       : unary_generator<simple_right_alignment<Subject, Width> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Subject subject_type;
 
         template <typename Context, typename Unused>

Modified: trunk/boost/spirit/home/karma/generator.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/generator.hpp (original)
+++ trunk/boost/spirit/home/karma/generator.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -20,7 +20,7 @@
     struct generator
     {
         struct generator_id;
- typedef mpl::false_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Derived derived_type;
         typedef karma::domain domain;
 
@@ -136,8 +136,8 @@
     struct is_binary_generator : detail::has_binary_generator_id<T> {};
 
     // check for generator properties
- template <typename T>
- struct requires_buffering : T::requires_buffering {};
+// template <typename T>
+// struct requires_buffering : T::requires_buffering {};
 
 }}}
 

Modified: trunk/boost/spirit/home/karma/operator/alternative.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/alternative.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/alternative.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -43,7 +43,7 @@
     template <typename Elements>
     struct alternative : nary_generator<alternative<Elements> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
 
         template <typename Context, typename Unused = unused_type>
         struct attribute

Modified: trunk/boost/spirit/home/karma/operator/and_predicate.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/and_predicate.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/and_predicate.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -34,7 +34,7 @@
     template <typename Subject>
     struct and_predicate : unary_generator<and_predicate<Subject> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Subject subject_type;
 
         template <typename Context, typename Iterator>

Modified: trunk/boost/spirit/home/karma/operator/not_predicate.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/not_predicate.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/not_predicate.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -34,7 +34,7 @@
     template <typename Subject>
     struct not_predicate : unary_generator<not_predicate<Subject> >
     {
- typedef mpl::true_ requires_buffering;
+// typedef mpl::true_ requires_buffering;
         typedef Subject subject_type;
 
         template <typename Context, typename Iterator>

Modified: trunk/boost/spirit/home/karma/operator/sequence.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/operator/sequence.hpp (original)
+++ trunk/boost/spirit/home/karma/operator/sequence.hpp 2009-07-19 22:48:00 EDT (Sun, 19 Jul 2009)
@@ -46,22 +46,22 @@
 }}
 
 ///////////////////////////////////////////////////////////////////////////////
-namespace boost { namespace spirit { namespace traits
-{
- // specialization for sequences
- template <typename Sequence>
- struct sequence_requires_buffering
- {
- typedef typename mpl::find_if<
- Sequence, requires_buffering<mpl::_1>
- >::type iterator;
-
- typedef typename mpl::not_<
- is_same<iterator, typename mpl::end<Sequence>::type>
- >::type type;
- };
-
-}}}
+// namespace boost { namespace spirit { namespace traits
+// {
+// // specialization for sequences
+// template <typename Sequence>
+// struct sequence_requires_buffering
+// {
+// typedef typename mpl::find_if<
+// Sequence, requires_buffering<mpl::_1>
+// >::type iterator;
+//
+// typedef typename mpl::not_<
+// is_same<iterator, typename mpl::end<Sequence>::type>
+// >::type type;
+// };
+//
+// }}}
 
 ///////////////////////////////////////////////////////////////////////////////
 namespace boost { namespace spirit { namespace karma
@@ -69,8 +69,8 @@
     template <typename Elements>
     struct sequence : nary_generator<sequence<Elements> >
     {
- typedef typename traits::sequence_requires_buffering<Elements>::type
- requires_buffering;
+// typedef typename traits::sequence_requires_buffering<Elements>::type
+// requires_buffering;
 
         sequence(Elements const& elements)
           : elements(elements) {}


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