Added comments in examples about lambda support

This commit is contained in:
Mael Rouxel-Labbé 2018-06-15 12:49:37 +02:00
parent c26d1f09a6
commit 77ab3dbd00
3 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;