* mln/topo/is_n_face.hh
(is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const):
Turn into...
(is_n_face<N>::operator()(const P& p) const):
...this.
---
milena/ChangeLog | 10 ++++++++++
milena/mln/topo/is_n_face.hh | 8 ++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index b420d56..c90e910 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,15 @@
2009-09-29 Roland Levillain <roland(a)lrde.epita.fr>
+ Have mln::topo::is_n_face<B> expose a more tolerant interface.
+
+ * mln/topo/is_n_face.hh
+ (is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const):
+ Turn into...
+ (is_n_face<N>::operator()(const P& p) const):
+ ...this.
+
+2009-09-29 Roland Levillain <roland(a)lrde.epita.fr>
+
Make complex window and complex neighborhood piters symmetric.
* mln/core/image/complex_neighborhood_piter.hh
diff --git a/milena/mln/topo/is_n_face.hh b/milena/mln/topo/is_n_face.hh
index 235c1dd..bc9aa71 100644
--- a/milena/mln/topo/is_n_face.hh
+++ b/milena/mln/topo/is_n_face.hh
@@ -49,18 +49,18 @@ namespace mln
{
typedef bool result;
- template <unsigned D, typename G>
- bool operator()(const mln::complex_psite<D, G>& p) const;
+ template <typename P>
+ bool operator()(const P& p) const;
};
# ifndef MLN_INCLUDE_ONLY
template <unsigned N>
- template <unsigned D, typename G>
+ template <typename P>
inline
bool
- is_n_face<N>::operator()(const mln::complex_psite<D, G>& p) const
+ is_n_face<N>::operator()(const P& p) const
{
return p.n() == N;
}
--
1.6.3.1
Show replies by date