Navigation: Up, Table of Contents, Bibliography, Index, Title Page

## CGAL::Swap<F,i>

### Definition

The class Swap<F,i> is used to specify the type of a functor where the arguments i and i+1 have been swapped. The class is used in conjunction with the swap functions.

#include <CGAL/functional.h>

### Types

Swap<F,i>::Type
| the functor type.

### Notes

This class encapsulates differences in implementation across various platforms. But in any case, Type refers to a model of AdaptableFunctor.

### See Also

CGAL::swap_1
CGAL::swap_2
CGAL::swap_3
CGAL::swap_4
AdaptableFunctor

Next: Bind<F,A,i>

Navigation: Table of Contents, Bibliography, Index, Title Page

The CGAL Project . Tue, December 21, 2004 .