Add boost_tuple_iterator_identity to compare iterator correctly.

And add test for boost_tuple_iterator.
This commit is contained in:
Kohei Takahashi
2014-11-03 12:43:25 +09:00
parent 5f416e24fc
commit 7a7b225fb1
3 changed files with 39 additions and 3 deletions

View File

@ -0,0 +1,21 @@
/*=============================================================================
Copyright (c) 2014 Kohei Takahashi
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)
==============================================================================*/
#include <boost/fusion/adapted/boost_tuple.hpp>
#define FUSION_SEQUENCE boost::tuple
#define FUSION_TRAVERSAL_TAG forward_traversal_tag
#define FUSION_NO_PRIOR
#include "./iterator.hpp"
int
main()
{
test();
return boost::report_errors();
}