#125: Ambiguity in comparaison with literals
--------------------------------+-------------------------------------------
Reporter: garrigues | Owner: theo
Type: defect | Status: new
Priority: major | Milestone: Olena 1.0ß
Component: Milena | Version: 1.0
Keywords: literals operators |
--------------------------------+-------------------------------------------
This test shows the problem :
{{{
#!cpp
# include <mln/value/gl8.hh>
# include <mln/literal/all.hh>
int main()
{
using mln::value::gl8;
using mln::literal::white;
gl8 b;
b == white;
}
}}}
The compiler can't find the right operator== to compate graylevel with
literals.
Here is the error output :
{{{
test.cc: In function 'int main()':
test.cc:11: error: ISO C++ says that these are ambiguous, even though the
worst conversion for the first is better than the worst conversion for the
second:
../../mln/literal/ops.hh:252: note: candidate 1: typename
mln::trait::op::eq<O, O>::ret mln::operator==(const mln::Object<E>&, const
mln::Literal<L>&) [with O = mln::value::graylevel<8u>, L =
mln::literal::white_t]
../../mln/value/internal/gray_f.hh:317: note: candidate 2: bool
mln::value::operator==(const mln::value::Integer<I>&, const
mln::value::graylevel_f&) [with I = mln::value::graylevel<8u>]
}}}
--
Ticket URL: <https://trac.lrde.epita.fr/olena/ticket/125>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image library.
#121: Add full test for mln::data
----------------------+-----------------------------------------------------
Reporter: duhamel | Owner: Olena Team
Type: task | Status: new
Priority: major | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Old description:
> Add full test for mln::level
New description:
Add full test for mln::data.
--
Comment(by levill_r):
Tests exists, but theyr are disabled (as of r4042).
The task of adding a `check-full` target is covered by #120.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/121#comment:2>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
#85: Ensure the milena/tests/ hierarchy follows milena/mln/'s one
-----------------------+----------------------------------------------------
Reporter: levill_r | Owner: Olena Team
Type: task | Status: new
Priority: critical | Milestone: Olena 1.0
Component: Milena | Version: 1.0
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Description changed by freling:
Old description:
> source:trunk/milena/mln/ and source:trunk/milena/tests/ shall be
> parallel, with some exceptions (for instance, the reproducing the sub-
> hierarchy of source:trunk/milena/mln/core into
> source:trunk/milena/tests/core might be overkill).
>
> Moreover :
> * File names should match.
> * Create a script to detect discrepancies (possibly supporting a list of
> exceptions) between files names in `milena/mln/` and `milena/tests/`.
New description:
source:trunk/milena/mln/ and source:trunk/milena/tests/ shall be parallel,
with some exceptions (for instance, the reproducing the sub-hierarchy of
source:trunk/milena/mln/core into source:trunk/milena/tests/core might be
overkill).
Moreover :
* File names should match.
* Create a script to detect discrepancies (possibly supporting a list of
exceptions) between files names in `milena/mln/` and `milena/tests/`.
You can run 'check_source_has_test.sh path/to/mln path/to/tests' in
source:trunk/build-aux/ in order to see which source does not have an
associated test.
--
--
Ticket URL: <https://trac.lrde.org/olena/ticket/85#comment:3>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.
#97: Improve Olena's Trac for the 1.0 release
--------------------------+-------------------------------------------------
Reporter: levill_r | Owner: levill_r
Type: enhancement | Status: new
Priority: major | Milestone: Olena 1.0
Component: Olena | Version: 1.0
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Changes (by levill_r):
* owner: Olena Team => levill_r
Comment:
I (Roland) have started to work on it. I'll clean it up after the
release.
--
Ticket URL: <https://trac.lrde.org/olena/ticket/97#comment:2>
Olena <http://olena.lrde.epita.fr>
Olena, a generic and efficient C++ image processing library.