digitalmars.D.bugs - [Issue 3830] New: opCmp among boxer arrays
- d-bugmail puremagic.com (23/23) Feb 18 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3830
- d-bugmail puremagic.com (10/10) Jan 09 2011 http://d.puremagic.com/issues/show_bug.cgi?id=3830
- d-bugmail puremagic.com (21/21) Feb 01 2013 http://d.puremagic.com/issues/show_bug.cgi?id=3830
- d-bugmail puremagic.com (7/7) Feb 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=3830
- d-bugmail puremagic.com (8/8) Feb 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=3830
http://d.puremagic.com/issues/show_bug.cgi?id=3830
Summary: opCmp among boxer arrays
Product: D
Version: 2.040
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody puremagic.com
ReportedBy: bearophile_hugs eml.cc
opCmp among box arrays seems wrong, this asserts:
import std.boxer;
void main() {
auto a1 = boxArray(10, 45.4);
auto a2 = boxArray(10, 45.2);
assert(a1 > a2);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 18 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3830
Andrei Alexandrescu <andrei metalanguage.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |andrei metalanguage.com
AssignedTo|nobody puremagic.com |andrei metalanguage.com
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 09 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3830
Andrej Mitrovic <andrej.mitrovich gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich gmail.com
Platform|Other |All
Version|2.040 |D2
Summary|opCmp among boxer arrays |opCmp among variant arrays
OS/Version|Windows |All
17:05:27 PST ---
std.boxer is gone, however Variant has the same problems:
import std.variant;
void main()
{
auto a1 = variantArray(10, 45.4);
auto a2 = variantArray(10, 45.2);
assert(a1 > a2); // fails
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 01 2013
http://d.puremagic.com/issues/show_bug.cgi?id=3830 PST --- I'm unclear whether ordering on Variant arrays is meaningful. One approach is lexicographical compare, but it's not the only one. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 26 2013
http://d.puremagic.com/issues/show_bug.cgi?id=3830
bearophile_hugs eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 26 2013









d-bugmail puremagic.com 