Hello everybody.I have to convert a char* (from a C function) to long. At the moment I'm using
but this doesn't feel right... with 2 to calls. Is this the way to go? Or is there something better?long foo = to!long( to!string(bar) );
Mars
Hello everybody.I have to convert a char* (from a C function) to long. At the moment I'm using
but this doesn't feel right... with 2 to calls. Is this the way to go? Or is there something better?long foo = to!long( to!string(bar) );
Mars