Conversion to output ranges

Mafi mafi at example.org
Tue Feb 7 05:35:26 PST 2012


Hi,
does anybody know how to bring std.conv.to or something similar to 
output into an output range?

int a = 42;
char[25] buffer;
to!typeof(buffer[])(a, buffer[]);

I want to send these texts throw sockets. Therefore I'd like to reuse 
the buffer.

Mafi


More information about the Digitalmars-d-learn mailing list