Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52609 - sandbox/SOC/2009/fusion/mini-fusion
From: mr.chr.schmidt_at_[hidden]
Date: 2009-04-26 13:57:59


Author: cschmidt
Date: 2009-04-26 13:57:58 EDT (Sun, 26 Apr 2009)
New Revision: 52609
URL: http://svn.boost.org/trac/boost/changeset/52609

Log:
concepts...
Text files modified:
   sandbox/SOC/2009/fusion/mini-fusion/concepts.hpp | 14 +++++---------
   1 files changed, 5 insertions(+), 9 deletions(-)

Modified: sandbox/SOC/2009/fusion/mini-fusion/concepts.hpp
==============================================================================
--- sandbox/SOC/2009/fusion/mini-fusion/concepts.hpp (original)
+++ sandbox/SOC/2009/fusion/mini-fusion/concepts.hpp 2009-04-26 13:57:58 EDT (Sun, 26 Apr 2009)
@@ -62,28 +62,24 @@
                 //typename detail_value_of_type=typename result_of::value_of<Iterator>::type;
         }
 
- /*auto concept BidirectionalIterator<class Iterator>
+ /*auto concept BidirectionalIterator<class Iterator> : ForwardIterator<Iterator>
         {
- requires ForwardIterator<Type>;
         }
 
- auto concept RandomAccessIterator<class Iterator>
+ auto concept RandomAccessIterator<class Iterator> : BidirectionalIterator<Iterator>
         {
- requires BidirectionalIterator<Type>;
         }*/
 
- /*auto concept ForwardSequence<class Type>
+ /*auto concept ForwardSequence<class Sequence>
         {
         }
 
- auto concept BidirectionalSequence<class Type>
+ auto concept BidirectionalSequence<class Sequence> : ForwardSequence<Sequence>
         {
- requires ForwardSequence<Type>;
         }
 
- auto concept RandomAccessSequence<class Type>
+ auto concept RandomAccessSequence<class Sequence> : BidirectionalSequence<Sequence>
         {
- requires BidirectionalSequence<Type>;
         }
         */
 }}}


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