mirror of
https://github.com/boostorg/utility.git
synced 2025-08-01 05:44:37 +02:00
obsolete and not needed
[SVN r9152]
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
// Test boost/pending/iterator_adaptors.hpp
|
||||
|
||||
// (C) Copyright Jeremy Siek 1999. Permission to copy, use, modify,
|
||||
// sell and distribute this software is granted provided this
|
||||
// copyright notice appears in all copies. This software is provided
|
||||
// "as is" without express or implied warranty, and with no claim as
|
||||
// to its suitability for any purpose.
|
||||
|
||||
// See http://www.boost.org for most recent version including documentation.
|
||||
|
||||
// Revision History
|
||||
// 21 Jan 01 Initial version (Jeremy Siek)
|
||||
|
||||
#include <list>
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/pending/iterator_adaptors.hpp>
|
||||
#include <boost/detail/iterator.hpp>
|
||||
|
||||
class foo {
|
||||
public:
|
||||
void bar() { }
|
||||
};
|
||||
|
||||
int main()
|
||||
{
|
||||
typedef boost::iterator_adaptor<foo*, boost::default_iterator_policies,
|
||||
foo,foo&,foo*,std::input_iterator_tag> adaptor_type;
|
||||
|
||||
adaptor_type i;
|
||||
i->bar();
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user