[Interest] Why QString and not std::string?

Paul Miller paul at fxtech.com
Fri Jun 15 16:19:00 CEST 2012


On 6/15/2012 8:46 AM, Konstantin Tokarev wrote:
>
>
> 15.06.2012, 16:58, "Thiago Macieira"<thiago.macieira at intel.com>:
>> Any one care to give me the Standard Library equivalent of:
>>
>>          QString::number(x)
>
> static_cast<ostringstream*>(&(ostringstream()<<  x ) )->str();

I just threw up a little in my mouth.

I'll take QString::number(x), thank you.





More information about the Interest mailing list