Hey Stefan,

std::size_t would be supported by adding 'unsigned' to the arg()
overloads, which I've done now in my git copy.

Regards,
koen

2012/9/4 Stefan Ruppert <[email protected]>:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to