[Issue 6860] New: isNumeric(immutable(char)) fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 28 03:07:55 PDT 2011


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

           Summary: isNumeric(immutable(char)) fails
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-10-28 03:06:45 PDT ---
import std.string;

void main()
{
    string five = "5";
    assert(isNumeric(five[0]));
}

-- 
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