[Issue 5236] [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 18 14:06:40 PST 2010


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



--- Comment #1 from Rob Jacques <sandford at jhu.edu> 2010-11-18 14:05:23 PST ---
Also, the unformatValue routines need to wrap the parse statements in a traits
compiles test, in order to support raw reading from byte streams.

i.e.
    static if(__traits(compiles, parse!T(input) )) {
        return parse!T(input);
    }

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