Format.convert problme

Qian Xu quian.xu at stud.tu-ilmenau.de
Mon Apr 6 00:20:24 PDT 2009


grauzone wrote:

> 
> Check if the variable is a pointer, and if yes, dereference it:
> 
> alias typeof(i) T;
> static if (is(T T2 : T2*)) {
> T2 i2 = *i;
> Format.convert("{}", i2);
> } else {
> Format.convert("{}", i);
> }

Hi again,

I cannot compile this code 


More information about the Digitalmars-d-learn mailing list