Hi,

I uses often some STL container with the WString() argument formatting 
such like:

std::vector<WString> names;
...
WString ps = WString("Please select a name ({1})").arg(names.size());

therefore I need to cast it to int, because no overload arg() method for 
size_t exists.

WString ps = WString("Please select a name ({1})").arg((int)names.size());

Regards,
Stefan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to