#163: Decide how « mln_?iter(T) » macros should expand
-----------------------+----------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: proposal | Status: new
Priority: minor | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: | Keywords: convention shortcut
-----------------------+----------------------------------------------------
Changes (by levill_r):
* summary: Decide into what mln_?iter(T) should expand => Decide how «
mln_?iter(T) » macros should expand
Old description:
In source:trunk/milena/mln/core/macros.hh, the
macros
{{{
#!cpp
mln_?iter(T)
mln_?iter_(T)
}}}
expand as
{{{
#!cpp
typename T::fwd_?iter
T::fwd_?iter
}}}
Shouldn't they expand as
{{{
#!cpp
typename T::?iter
T::?iter
}}}
?
New description:
In source:trunk/milena/mln/core/macros.hh, the macros
{{{
#!cpp
mln_?iter(T)
mln_?iter_(T)
}}}
expand as
{{{
#!cpp
typename T::fwd_?iter
T::fwd_?iter
}}}
Shouldn't they expand as
{{{
#!cpp
typename T::?iter
T::?iter
}}}
?
If so, we should define `?iter` `typedefs` (defaulting to `fwd_?iter`) in
relevant classes.
Comment:
Mention `?iter` `typedefs`.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/163#comment:1>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.