next version of DWT?

Marcin Kuszczak aarti at interia.pl
Sun Apr 29 01:34:08 PDT 2007


Marcin Kuszczak wrote:

> and provide overloaded D methods:
> void setText( char[] str );
> void setText( wchar[] str );
> void setText( dchar[] str );
> void setText( String str ); //I mean here string from Tango. Maybe it
> usable in this context?

BTW necessity for three overloaded methods for methods getting string in D
is a reason why I would be happy to see one canonical String class for D,
which would encapsulate these three types of arrays.

For me below implementation is close to perfect. Only problem is that it
reduces maximal length of string.

http://www.dprogramming.com/dstring.php

-- 
Regards
Marcin Kuszczak (Aarti_pl)
-------------------------------------
Ask me why I believe in Jesus - http://zapytaj.dlajezusa.pl (en/pl)
Doost (port of few Boost libraries) - http://www.dsource.org/projects/doost/
-------------------------------------



More information about the Digitalmars-d-dwt mailing list