Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
CGAL::swap_4
Definition
The function
swap_4
is used to swap the arguments of a functor. The result is a functor
f'
that calls the original functor
f
with the fourth and fifth argument exchanged, that is
f'(v,w,x,y,z)= f(v,w,x,z,y)
.
#include <
CGAL/functional.h
>
template < class F >
typename
Swap
<F,4>::Type
swap_4
( F f)
returns a functor equivalent to
f
, but where the fourth and fifth argument are exchanged.
Requirement:
F is a model for
AdaptableFunctor
with arity
5
.
See Also
CGAL::Swap
<F,i>
CGAL::swap_1
CGAL::swap_2
CGAL::swap_3
AdaptableFunctor
Next:
bind_1
Navigation:
Table of Contents
,
Bibliography
,
Index
,
Title Page
The
CGAL Project
. Tue, December 21, 2004 .