[Issue 17438] std.conv.parse documentation contradiction

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 25 04:11:33 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dlang-bugzilla at thecybershad
                   |                            |ow.net
         Resolution|---                         |WORKSFORME

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
The documentation says:

Throws: A ConvException If an overflow occurred during conversion or if no
character of the input was meaningfully converted. 

"if no character of the input was meaningfully converted" is the key part, so
at least for the example you presented, I don't see a problem.

--


More information about the Digitalmars-d-bugs mailing list