mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-27 03:17:54 +02:00
GCC2 workarounds; fixed permutation_iterator_example
[SVN r22048]
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include <deque>
|
||||
#include <algorithm>
|
||||
#include <boost/iterator/permutation_iterator.hpp>
|
||||
#include <boost/cstdlib.hpp>
|
||||
|
||||
@ -10,7 +11,7 @@ int main() {
|
||||
int i = 0;
|
||||
|
||||
typedef std::vector< int > element_range_type;
|
||||
typedef std::list< int > index_type;
|
||||
typedef std::deque< int > index_type;
|
||||
|
||||
static const int element_range_size = 10;
|
||||
static const int index_size = 4;
|
||||
|
Reference in New Issue
Block a user