Boost Library Format; ficando std :: string

Eu quero adicionar uma string que eu formate usando a biblioteca boost da seguinte maneira

boost::container::vector<std::string> someStringVector;
someStringVector.push_back(
    format("after is x:%f y:%f and before is x:%f y:%f\r\n") % 
    temp.x %
    temp.y %
    this->body->GetPosition().x %
    this->body->GetPosition().y;

O compilador está reclamando que não pode converter tipos e tentei anexar .str () no final do formato retornado, mas ele ainda reclamou.

A mensagem de erro que recebi foi:

error C2664: 'void boost::container::vector<T>::push_back(
  const std::basic_string<_Elem,_Traits,_Ax> &)' :
  cannot convert parameter 1 from
    'boost::basic_format<Ch>' to 
    'const std::basic_string<_Elem,_Traits,_Ax> &'

Alguém tem alguma ideia?

questionAnswers(2)

yourAnswerToTheQuestion