mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 03:57:36 +02:00
Add boost_tuple_iterator_identity to compare iterator correctly.
And add test for boost_tuple_iterator.
This commit is contained in:
@ -60,6 +60,7 @@ project
|
||||
[ run sequence/as_set.cpp : : : : ]
|
||||
[ run sequence/as_vector.cpp : : : : ]
|
||||
[ run sequence/boost_tuple.cpp : : : : ]
|
||||
[ run sequence/boost_tuple_iterator.cpp : : : : ]
|
||||
[ run sequence/cons.cpp : : : : ]
|
||||
[ run sequence/filter_view.cpp : : : : ]
|
||||
[ run sequence/hash.cpp : : : : ]
|
||||
|
21
test/sequence/boost_tuple_iterator.cpp
Normal file
21
test/sequence/boost_tuple_iterator.cpp
Normal 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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user