* mln/core/complex_iter.hh
(mln::complex_fwd_iter<D>::complex_dim):
(mln::complex_bkd_iter<D>::complex_dim):
New constants.
---
milena/ChangeLog | 9 +++++++++
milena/mln/core/complex_iter.hh | 2 ++
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index e4a915e..fbf267f 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,12 @@
+2008-09-14 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Have iterators on mln::complex export their dimension.
+
+ * mln/core/complex_iter.hh
+ (mln::complex_fwd_iter<D>::complex_dim):
+ (mln::complex_bkd_iter<D>::complex_dim):
+ New constants.
+
2008-09-13 Roland Levillain <roland(a)lrde.epita.fr>
Add default ctors for iterators on faces.
diff --git a/milena/mln/core/complex_iter.hh b/milena/mln/core/complex_iter.hh
index 3dcb445..4e757ea 100644
--- a/milena/mln/core/complex_iter.hh
+++ b/milena/mln/core/complex_iter.hh
@@ -50,6 +50,7 @@ namespace mln
{
public:
typedef any_face_handle<D> face;
+ static const unsigned complex_dim = D;
private:
typedef complex_fwd_iter_<D> self_;
@@ -100,6 +101,7 @@ namespace mln
{
public:
typedef any_face_handle<D> face;
+ static const unsigned complex_dim = D;
private:
typedef complex_bkd_iter_<D> self_;
--
1.6.0.1