CGAL 5.1 - Handles and Circulators

Each of the following assertions, applicable to an iterator or a circulator or both, checks at compile time if its argument is of the kind stated in the assertions name, i.e. a circulator, an iterator, or a particular category of either an iterator or a circulator. Note that neither input nor output circulators exists.

See also
Circulator_tag
Circulator_traits
query_circulator_or_iterator
Circulator

Functions

template<class C >
void CGAL::Assert_circulator (const C &c)
 
template<class I >
void CGAL::Assert_iterator (const I &i)
 
template<class IC >
void CGAL::Assert_circulator_or_iterator (const IC &i)
 
template<class I >
void CGAL::Assert_input_category (const I &i)
 
template<class I >
void CGAL::Assert_output_category (const I &i)
 
template<class IC >
void CGAL::Assert_forward_category (const IC &ic)
 
template<class IC >
void CGAL::Assert_bidirectional_category (const IC &ic)
 
template<class IC >
void CGAL::Assert_random_access_category (const IC &ic)
 

Function Documentation

◆ Assert_bidirectional_category()

template<class IC >
void CGAL::Assert_bidirectional_category ( const IC &  ic)

#include <CGAL/circulator.h>

◆ Assert_circulator()

template<class C >
void CGAL::Assert_circulator ( const C &  c)

#include <CGAL/circulator.h>

checks at compile time if its argument is a circulator.

Examples
Circulator/circulator_prog3.cpp.

◆ Assert_circulator_or_iterator()

template<class IC >
void CGAL::Assert_circulator_or_iterator ( const IC &  i)

#include <CGAL/circulator.h>

checks at compile time if its argument is a circulator or iterator.

◆ Assert_forward_category()

template<class IC >
void CGAL::Assert_forward_category ( const IC &  ic)

#include <CGAL/circulator.h>

Examples
Circulator/circulator_prog3.cpp.

◆ Assert_input_category()

template<class I >
void CGAL::Assert_input_category ( const I &  i)

#include <CGAL/circulator.h>

◆ Assert_iterator()

template<class I >
void CGAL::Assert_iterator ( const I &  i)

#include <CGAL/circulator.h>

checks at compile time if its argument is an iterator.

Examples
Circulator/circulator_prog3.cpp.

◆ Assert_output_category()

template<class I >
void CGAL::Assert_output_category ( const I &  i)

#include <CGAL/circulator.h>

◆ Assert_random_access_category()

template<class IC >
void CGAL::Assert_random_access_category ( const IC &  ic)

#include <CGAL/circulator.h>

Examples
Circulator/circulator_prog3.cpp.