From 77ab3dbd0039f72e685747a5eb2c2fbbca69fbfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 15 Jun 2018 12:49:37 +0200 Subject: [PATCH] Added comments in examples about lambda support --- .../examples/Interpolation/interpolation_vertex_with_info_2.cpp | 1 + .../Interpolation/sibson_interpolation_rn_vertex_with_info_2.cpp | 1 + .../Interpolation/sibson_interpolation_vertex_with_info_2.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/Interpolation/examples/Interpolation/interpolation_vertex_with_info_2.cpp b/Interpolation/examples/Interpolation/interpolation_vertex_with_info_2.cpp index 99a58929525..b43a2b1535e 100644 --- a/Interpolation/examples/Interpolation/interpolation_vertex_with_info_2.cpp +++ b/Interpolation/examples/Interpolation/interpolation_vertex_with_info_2.cpp @@ -94,6 +94,7 @@ int main() Delaunay_triangulation T; + // Note that a supported alternative to creating the functors below is to use lambdas Value_function value_function; Gradient_function gradient_function; diff --git a/Interpolation/examples/Interpolation/sibson_interpolation_rn_vertex_with_info_2.cpp b/Interpolation/examples/Interpolation/sibson_interpolation_rn_vertex_with_info_2.cpp index 434b911d9fd..d86378ebf04 100644 --- a/Interpolation/examples/Interpolation/sibson_interpolation_rn_vertex_with_info_2.cpp +++ b/Interpolation/examples/Interpolation/sibson_interpolation_rn_vertex_with_info_2.cpp @@ -73,6 +73,7 @@ int main() { Regular_triangulation rt; + // Note that a supported alternative to creating the functors below is to use lambdas Value_function value_function; Gradient_function gradient_function; diff --git a/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp b/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp index d5373c62e1b..8e74eab6aa1 100644 --- a/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp +++ b/Interpolation/examples/Interpolation/sibson_interpolation_vertex_with_info_2.cpp @@ -74,6 +74,7 @@ int main() { Delaunay_triangulation dt; + // Note that a supported alternative to creating the functors below is to use lambdas Value_function value_function; Gradient_function gradient_function;