refactoring for v2.1

[SVN r40208]
This commit is contained in:
Joel de Guzman
2007-10-20 11:01:50 +00:00
parent 0f11e531ac
commit a77599ed49
21 changed files with 72 additions and 73 deletions

View File

@ -1,19 +1,21 @@
/*=============================================================================
Copyright (c) 2001-2006 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#if !defined(FUSION_CONVERT_ITERATOR_05062005_1218)
#define FUSION_CONVERT_ITERATOR_05062005_1218
#include <boost/fusion/support/is_iterator.hpp>
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/bool.hpp>
namespace boost { namespace fusion
{
template <typename Iterator>
struct mpl_iterator; // forward declaration
// Test T. If it is a fusion iterator, return a reference to it.
// else, assume it is an mpl iterator.