mirror of https://github.com/CGAL/cgal
Added comments in examples about lambda support
This commit is contained in:
parent
c26d1f09a6
commit
77ab3dbd00
|
|
@ -94,6 +94,7 @@ int main()
|
||||||
|
|
||||||
Delaunay_triangulation T;
|
Delaunay_triangulation T;
|
||||||
|
|
||||||
|
// Note that a supported alternative to creating the functors below is to use lambdas
|
||||||
Value_function<Vertex_handle, Coord_type> value_function;
|
Value_function<Vertex_handle, Coord_type> value_function;
|
||||||
Gradient_function<Vertex_handle, Vector> gradient_function;
|
Gradient_function<Vertex_handle, Vector> gradient_function;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ int main()
|
||||||
{
|
{
|
||||||
Regular_triangulation rt;
|
Regular_triangulation rt;
|
||||||
|
|
||||||
|
// Note that a supported alternative to creating the functors below is to use lambdas
|
||||||
Value_function<Vertex_handle, Coord_type> value_function;
|
Value_function<Vertex_handle, Coord_type> value_function;
|
||||||
Gradient_function<Vertex_handle, Vector> gradient_function;
|
Gradient_function<Vertex_handle, Vector> gradient_function;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@ int main()
|
||||||
{
|
{
|
||||||
Delaunay_triangulation dt;
|
Delaunay_triangulation dt;
|
||||||
|
|
||||||
|
// Note that a supported alternative to creating the functors below is to use lambdas
|
||||||
Value_function<Vertex_handle, Coord_type> value_function;
|
Value_function<Vertex_handle, Coord_type> value_function;
|
||||||
Gradient_function<Vertex_handle, Vector> gradient_function;
|
Gradient_function<Vertex_handle, Vector> gradient_function;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue