C/C++格式化輸出的庫 - FastFormat 0.7.1 Alpha 7 發布

openkk 12年前發布 | 7K 次閱讀 C/C++

FastFormat 是一個C/C++格式化輸出的庫,輸入的參數是類型安全的/范型的/可擴展的。

示例代碼:

std::string  fmt0("A c-style string: {0}");
std::string  fmt1("A std::string: {0}");
std::string  fmt2("A c-style string: {0}, and a std::string: {1}");
std::string  fmt3("A c-style string: {1}, and an int: {0}");

 

changlog:

This release changes the manner in which integer string forms is evaluated (now in terms of STLSoft's integral_printf_traits<>), to simplify definitions and fix a defect (found on I32LP64 systems). It adds a makefile for GCC 4.7. It adds fastformat.core.vcxproj (VC++ 10). It changes core source files to include new src/ximpl_core.hpp. It adds various unit/component tests. It bundles shwild 0.9.20 and xTests 0.16.5; and depends on STLSoft 1.9.112

 本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!