Navigation:
Up
,
Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
,
Acknowledging CGAL
CGAL::bind_1
Definition
The function
bind_1
is used to bind the first 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 first argument is set to the bound value.
#include <CGAL/functional.h>
template < class F, class A >
typename
Bind
< F, A, 1 >::Type
bind_1 ( F f, A a)
returns a functor equivalent to
f
, but where the first argument is bound (fixed) to
a
.
Requirement:
F is a model for
AdaptableFunctor
.
See Also
CGAL::Bind<F,A,i>
CGAL::bind_2
CGAL::bind_3
CGAL::bind_4
CGAL::bind_5
AdaptableFunctor
Next:
bind_2
Navigation:
Up
,
Table of Contents
,
Package Overview
,
Bibliography
,
Index
,
Title Page
,
Acknowledging CGAL
CGAL Open Source Project
. Release 3.3.1. 25 August 2007.