Poco Foundation library has a very convenient format function, which supports std::string in both the format string and the values:
- Doc: http://pocoproject.org/docs/Poco.html#7308
- Source: https://github.com/pocoproject/poco/blob/develop/Foundation/src/Format.cpp