I recently encountered code similar to this:
std::string myString = "test";
boost::format fmt("%s");
fmt % myString;
What is the (second) % operator doing here?
EDIT:
I understand the end result, but I could not find a definition of how the % operator can be used like this.
Can someone provide an example that explains what exactly the meaning of the % operator is here?