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
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to