Hmm is there a way for boost::format to function like snprintf.

Example

char str[64];

std::cout << boost::format("%s") % str;