[Issue 6112] Odd behavior of char comparison for ordering

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 5 22:11:25 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6112



--- Comment #1 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-06-05 22:06:56 PDT ---
void main()
{
    assert(char.min < char.max); //pass
    auto a = char.min;
    auto b = char.max;
    assert(a < b); // fails
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list