Navigation:
Up
,
Table of Contents
,
Short Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
CGAL::bind_2
Definition
The function
bind_2
is used to bind the second argument of a functor to some specific value. The result is a functor that takes one argument less and calls the original functor where the second argument is set to the bound value.
#include <
CGAL/functional.h
>
template < class F, class A >
typename
Bind
< F, A, 2 >::Type
bind_2
( F f, A a)
returns a functor equivalent to
f
, but where the second argument is bound (fixed) to
a
.
Requirement:
F is a model for
AdaptableFunctor
.
See Also
CGAL::Bind<F,A,i>
CGAL::bind_1
CGAL::bind_3
CGAL::bind_4
CGAL::bind_5
AdaptableFunctor
Next:
bind_3
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.