Navigation:
Up
,
Table of Contents
,
Short Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
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
Next:
swap_4
Navigation:
Up
,
Table of Contents
,
Short Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
CGAL Open Source Project
. Release 3.2.1. 13 July 2006.