|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49733 - in sandbox/SOC/2006/tree/trunk/boost/tree: . detail/algorithm
From: ockham_at_[hidden]
Date: 2008-11-13 17:19:58
Author: bernhard.reiter
Date: 2008-11-13 17:19:58 EST (Thu, 13 Nov 2008)
New Revision: 49733
URL: http://svn.boost.org/trac/boost/changeset/49733
Log:
Remove OutputCursor concept for now - unsure if we're really going to need it
(maybe we can just use OutputIterator).
Text files modified:
sandbox/SOC/2006/tree/trunk/boost/tree/cursor_concepts.hpp | 14 --------------
sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/iterative.hpp | 8 +++++++-
2 files changed, 7 insertions(+), 15 deletions(-)
Modified: sandbox/SOC/2006/tree/trunk/boost/tree/cursor_concepts.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/cursor_concepts.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/cursor_concepts.hpp 2008-11-13 17:19:58 EST (Thu, 13 Nov 2008)
@@ -54,20 +54,6 @@
X a;
};
-template <class X>
-struct OutputCursor
-{
-public:
- BOOST_CONCEPT_USAGE(OutputCursor)
- {
- /// TODO
- }
-
-private:
- X o;
-};
-
-
} // namespace tree
} // namespace boost
Modified: sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/iterative.hpp
==============================================================================
--- sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/iterative.hpp (original)
+++ sandbox/SOC/2006/tree/trunk/boost/tree/detail/algorithm/iterative.hpp 2008-11-13 17:19:58 EST (Thu, 13 Nov 2008)
@@ -46,7 +46,13 @@
}
template <class Order, class InCursor, class OutCursor, class Op>
-OutCursor transform (Order, InCursor is, OutCursor t, Op op
+BOOST_CONCEPT_REQUIRES(
+ ((DescendingCursor<InCursor>))
+ ((AscendingCursor<InCursor>))
+ ((DescendingCursor<OutCursor>))
+ ((AscendingCursor<OutCursor>)),
+ (OutCursor)) // return type
+transform (Order, InCursor is, OutCursor t, Op op
, bidirectional_traversal_tag)
{
root_tracking_cursor<InCursor> s(is);
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