|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74428 - trunk/boost/fusion/iterator
From: joel_at_[hidden]
Date: 2011-09-16 23:21:14
Author: djowel
Date: 2011-09-16 23:21:13 EDT (Fri, 16 Sep 2011)
New Revision: 74428
URL: http://svn.boost.org/trac/boost/changeset/74428
Log:
added iterator_adapter 'Category' template parameter which defaults to Iterator_::category
Text files modified:
trunk/boost/fusion/iterator/iterator_adapter.hpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Modified: trunk/boost/fusion/iterator/iterator_adapter.hpp
==============================================================================
--- trunk/boost/fusion/iterator/iterator_adapter.hpp (original)
+++ trunk/boost/fusion/iterator/iterator_adapter.hpp 2011-09-16 23:21:13 EDT (Fri, 16 Sep 2011)
@@ -13,11 +13,10 @@
namespace boost { namespace fusion
{
- template <typename Derived_, typename Iterator_>
+ template <typename Derived_, typename Iterator_,
+ typename Category = typename Iterator_::category>
struct iterator_adapter
- : iterator_facade<
- Derived_
- , typename Iterator_::category>
+ : iterator_facade<Derived_, Category>
{
typedef typename
remove_const<Iterator_>::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