История изменений
Исправление invy, (текущая версия) :
http://www.boost.org/doc/libs/1_59_0/libs/format/doc/format.html
cout << boost::format("writing %1%, x=%2% : %3%-th try") % "toto" % 40.23 % 50;
// prints "writing toto, x=40.230 : 50-th try"
//classical printf directive, no reordering :
cout << format("writing %s, x=%s : %d-th step \n") % "toto" % 40.23 % 50;
Исправление invy, :
http://www.boost.org/doc/libs/1_59_0/libs/format/doc/format.html
cout << boost::format("writing %1%, x=%2% : %3%-th try") % "toto" % 40.23 % 50;
// prints "writing toto, x=40.230 : 50-th try"
Исходная версия invy, :
http://www.boost.org/doc/libs/1_42_0/libs/format/doc/format.html
cout << boost::format("writing %1%, x=%2% : %3%-th try") % "toto" % 40.23 % 50;
// prints "writing toto, x=40.230 : 50-th try"