Universel toString

Qian Xu quian.xu at stud.tu-ilmenau.de
Fri Mar 20 06:11:03 PDT 2009


Daniel Keep wrote:
> 
> to!(char[]) should call toString.  to!(T) should support all atomic
> types, strings, structs and classes.
> 

There is one problem: I have to check, whether a pointer is NULL. 
If it is NULL, I should return "NULL", otherwise I should call to!(char[]
(*my_pointer_var)

I want to save this check.



More information about the Digitalmars-d-learn mailing list