* mln/core/internal/complex_iter_base.hh: Fix the Doxygen
documentation.
More forward declaration of mln::complex<D>...
* mln/core/complex_iter.hh: ...here.
---
milena/ChangeLog | 9 +++++++++
milena/mln/core/complex_iter.hh | 3 +++
milena/mln/core/internal/complex_iter_base.hh | 13 +++++++------
3 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index d80dc75..c2ca75f 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,14 @@
2008-09-14 Roland Levillain <roland(a)lrde.epita.fr>
+ Misc. fixes on complex-related iterators.
+
+ * mln/core/internal/complex_iter_base.hh: Fix the Doxygen
+ documentation.
+ More forward declaration of mln::complex<D>...
+ * mln/core/complex_iter.hh: ...here.
+
+2008-09-14 Roland Levillain <roland(a)lrde.epita.fr>
+
Factor iterators on mln::p_complex.
* mln/core/internal/p_complex_piter_base.hh: New.
diff --git a/milena/mln/core/complex_iter.hh b/milena/mln/core/complex_iter.hh
index 4e757ea..ba2731e 100644
--- a/milena/mln/core/complex_iter.hh
+++ b/milena/mln/core/complex_iter.hh
@@ -36,6 +36,9 @@
namespace mln
{
+ // Forward declaration.
+ template <unsigned D> class complex;
+
/*-----------------------.
| complex_fwd_iter_<D>. |
`-----------------------*/
diff --git a/milena/mln/core/internal/complex_iter_base.hh
b/milena/mln/core/internal/complex_iter_base.hh
index df9b39a..a2462ea 100644
--- a/milena/mln/core/internal/complex_iter_base.hh
+++ b/milena/mln/core/internal/complex_iter_base.hh
@@ -28,9 +28,9 @@
#ifndef MLN_CORE_INTERNAL_COMPLEX_ITER_BASE_HH
# define MLN_CORE_INTERNAL_COMPLEX_ITER_BASE_HH
-/// \file mln/core/complex_iter_base.hh
+/// \file mln/core/internal/complex_iter_base.hh
/// \brief Definition of an implementation (factoring) class for
-/// iterators on complexes.
+/// iterators on mln::complex.
# include <limits>
@@ -42,12 +42,9 @@
namespace mln
{
- // Forward declaration.
- template <unsigned D> class complex;
-
namespace internal
{
- /// \brief Factoring classe for iterators on complexes.
+ /// \brief Factoring class for iterators on mln::complex.
///
/// \arg \p F The type of the face handle.
/// \arg \p E The type exact type of the iterator.
@@ -58,6 +55,8 @@ namespace mln
public:
typedef F face;
+ // FIXME: Maybe we could just get the dimension D of the face's
+ // complex, an define complex_type as mln::complex<D>?
typedef typename F::complex_type complex_type;
/// Construction and assignment.
@@ -103,6 +102,8 @@ namespace mln
} // end of mln::internal
+
+
# ifndef MLN_INCLUDE_ONLY
namespace internal
--
1.6.0.1
Show replies by date