#include #include #include int main() { boost::format a("foo", std::locale()); boost::format b(std::string("foo"), std::locale()); return 0; }