#include <cassert>
#include <vector>
#include <algorithm>
#include <CGAL/circulator.h>
int main() {
std::vector<int> v;
v.push_back(5);
v.push_back(2);
v.push_back(9);
std::sort( container.begin(), container.end());
assert( *i == 2);
i++; assert( *i == 5);
i++; assert( *i == 9);
i++; assert( i == container.end());
return 0;
}
The adaptor Circulator_from_container provides a circulator for an STL container C of equal category ...
Definition: circulator.h:151
The adaptor Container_from_circulator is a class that converts any circulator type C to a kind of con...
Definition: circulator.h:430
A Circulator is similar to an Iterator, with the difference that it is designed for circular data str...
Definition: Circulator.h:297