boost::format fmt( "%1%, %2%" ); fmt % 1.23456; fmt % 12; cout ... 不過要注意的是,透過operator% 傳給boost::format 物件(fmt)的變數是會儲存 ...
確定! 回上一頁