With wxWidgets, the wxString class is very similar to the STL string class, but the STL does not include a Format function as does wxString.
As you may know, you can say
wxString str = wxString::Format ("%s %i", "whatever", 12345);
and the variable str will be formatted like in C using sprintf
sprintf (buffer, "%s %i", "whatever", 12345);
Is there a Format() function in the STL for strings or something similar? Right now I use standard C strings rather than the STL because this very reason (I want to go to STL, but this is the only drawback). I know I could use osstringstream to get similar functionality, but I would rather use a C approach.