Wrap g_strdup_printf() as e.g. static Glib::ustring::compose_printf()
@dboles
Submitted by Daniel Boles Link to original bug (#784162)
Description
Having a printf-style formatter on-hand is really useful, I would say much more so than the stream-based methods like Glib::ustring::format() or using std::stringstream, etc. The stream methods are clumsy and ('according to the internet') often slower than alternatives.
Sure, we can just call g_strdup_printf() ourselves, but then we have to remember to g_free()... something we should never need to think about in C++.
I think it would be great to wrap this in glibmm, returning a Glib::ustring. What do you think?