[dmd-beta] dmd 1.069 and 2.054 beta

Jonathan M Davis jmdavisProg at gmx.com
Fri Jul 8 00:43:36 PDT 2011


On 2011-07-08 00:27, Stephan Dilly wrote:
> module main;
> 
> import std.ctype;
> 
> void main()
> {
>      auto foo = isspace(' ');
> }

1. It's _scheduled_ for deprecation, not deprecated. So, all it's doing right 
now is warning you. It'll actually be deprecated in January. _Then_ you will 
need -d.

2. std.ascii.isWhite is the replacement. It says so in the documentation.

_None_ of the functions in std.ctype have been lost in the move to std.ascii. 
They've been renamed to be properly camelcased, to better match the naming 
elsewhere in Phobos, and to just generally improved the names. And more 
importantly, they've had their return types fixed to be bool instead of int.

- Jonathan M Davis


More information about the dmd-beta mailing list