mirror of
https://github.com/boostorg/utility.git
synced 2025-07-30 12:57:31 +02:00
updated for change in named params
[SVN r10456]
This commit is contained in:
@ -9,6 +9,7 @@
|
|||||||
// See http://www.boost.org for most recent version including documentation.
|
// See http://www.boost.org for most recent version including documentation.
|
||||||
|
|
||||||
// Revision History
|
// Revision History
|
||||||
|
// 27 June 01 Updated to changes in named parameters.
|
||||||
// 08 Mar 01 Moved indirect and transform tests to separate files.
|
// 08 Mar 01 Moved indirect and transform tests to separate files.
|
||||||
// (Jeremy Siek)
|
// (Jeremy Siek)
|
||||||
// 19 Feb 01 Take adavantage of improved iterator_traits to do more tests
|
// 19 Feb 01 Take adavantage of improved iterator_traits to do more tests
|
||||||
@ -52,8 +53,7 @@
|
|||||||
#include <boost/pending/iterator_tests.hpp>
|
#include <boost/pending/iterator_tests.hpp>
|
||||||
#include <boost/pending/integer_range.hpp>
|
#include <boost/pending/integer_range.hpp>
|
||||||
#include <boost/concept_archetype.hpp>
|
#include <boost/concept_archetype.hpp>
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <vector>
|
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
@ -97,6 +97,9 @@ typedef std::deque<int> storage;
|
|||||||
typedef std::deque<int*> pointer_deque;
|
typedef std::deque<int*> pointer_deque;
|
||||||
typedef std::set<storage::iterator> iterator_set;
|
typedef std::set<storage::iterator> iterator_set;
|
||||||
|
|
||||||
|
struct bar { };
|
||||||
|
void foo(bar) { }
|
||||||
|
|
||||||
int
|
int
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
@ -306,12 +309,11 @@ main()
|
|||||||
#else
|
#else
|
||||||
typedef boost::iterator_adaptor<boost::forward_iterator_archetype<dummyT>,
|
typedef boost::iterator_adaptor<boost::forward_iterator_archetype<dummyT>,
|
||||||
boost::default_iterator_policies,
|
boost::default_iterator_policies,
|
||||||
boost::iterator_traits_generator
|
boost::value_type_is<dummyT>,
|
||||||
::value_type<dummyT>
|
boost::reference_is<const dummyT&>,
|
||||||
::reference<const dummyT&>
|
boost::pointer_is<const dummyT*>,
|
||||||
::pointer<const dummyT*>
|
boost::iterator_category_is<std::forward_iterator_tag>,
|
||||||
::iterator_category<std::forward_iterator_tag>
|
boost::difference_type_is<std::ptrdiff_t> > adaptor_type;
|
||||||
::difference_type<std::ptrdiff_t> > adaptor_type;
|
|
||||||
#endif
|
#endif
|
||||||
adaptor_type i(forward_iter);
|
adaptor_type i(forward_iter);
|
||||||
int zero = 0;
|
int zero = 0;
|
||||||
|
Reference in New Issue
Block a user