[Issue 9797] to!int() cannot convert hexadecimal numbers

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Nov 6 18:00:55 PST 2015


https://issues.dlang.org/show_bug.cgi?id=9797

bb.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bb.temp at gmx.com

--- Comment #4 from bb.temp at gmx.com ---
Agree, furthemore there are others prefix/suffix notations:

- 12345678h: several hex editors , IDA
- #12345678: colors, html, css
- $12345678: Pascal
- 0X or 0x
- and maybe others...

so even if 0x is handled ,there are several cases where the user has to parse
the  prefix/suffix by hand anyway.

--


More information about the Digitalmars-d-bugs mailing list