CGAL::swap_3

Definition

The function swap_3 is used to swap the arguments of a functor. The result is a functor f' that calls the original functor f with the third and fourth argument exchanged, that is f'(w,x,y,z,...)= f(w,x,z,y,...).

#include <CGAL/functional.h>

template < class F >
typename Swap<F,3>::Type
swap_3 ( F f) returns a functor equivalent to f, but where the third and fourth argument are exchanged.
Requirement: F is a model for AdaptableFunctor with arity 4 ar 5.

See Also

CGAL::Swap<F,i>
CGAL::swap_1
CGAL::swap_2
CGAL::swap_4
AdaptableFunctor