---
milena/ChangeLog | 5 +++++
milena/mln/core/concept/neighborhood.hh | 9 +++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index ff4f385..cd39a45 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,10 @@
2008-10-01 Roland Levillain <roland(a)lrde.epita.fr>
+ * mln/core/concept/neighborhood.hh: Add documentation on static
+ checks.
+
+2008-10-01 Roland Levillain <roland(a)lrde.epita.fr>
+
Add iterators on complex neighborhood.
* mln/core/image/complex_neighborhood_piter.hh New.
diff --git a/milena/mln/core/concept/neighborhood.hh
b/milena/mln/core/concept/neighborhood.hh
index 1f96d45..47193c6 100644
--- a/milena/mln/core/concept/neighborhood.hh
+++ b/milena/mln/core/concept/neighborhood.hh
@@ -91,8 +91,13 @@ namespace mln
typedef mln_window(E) window;
bool m = (& E::win) == (& E::win);
m = 0;
-// const window& (E::*m)() const = & E::to_window;
-// m = 0;
+# if 0
+ /* FIXME: Disabled, as win() can either return a const reference
+ or a copy of the window (see documentation above). Hence the
+ simpler, relaxed check above (m0). */
+ const window& (E::*m1)() const = & E::win;
+ m = m1;
+# endif
}
# endif // ! MLN_INCLUDE_ONLY
--
1.6.0.1