[Bug c++/36921] comparsion does not have mathematical meaning is not correct

2008-07-25 Thread deba at inf dot elte dot hu
--- Comment #4 from deba at inf dot elte dot hu 2008-07-25 14:43 --- (In reply to comment #3) > What Andrew means by "example" is a short, self-contained, compilable testcase > that shows the undesired behaviour. > struct A {}; A operator<(A, A) { return A(); } int main() { A(

[Bug c++/36921] comparsion does not have mathematical meaning is not correct

2008-07-25 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-07-25 14:34 --- What Andrew means by "example" is a short, self-contained, compilable testcase that shows the undesired behaviour. -- manu at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36921] comparsion does not have mathematical meaning is not correct

2008-07-25 Thread deba at inf dot elte dot hu
--- Comment #2 from deba at inf dot elte dot hu 2008-07-25 10:24 --- (In reply to comment #1) > Example? > In the LEMON graph library (http://lemon.cs.elte.hu/) there is an LP solver interface. The LP constraints could be added like the next formulation: lp.addRow((double) <= (Lp::Exp

[Bug c++/36921] comparsion does not have mathematical meaning is not correct

2008-07-24 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-24 20:30 --- Example? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|compars