C++ Format v1.1.0 Release Notes

Release Date: 2015-03-06 // about 9 years ago
    • โž• Added BasicArrayWriter, a class template that provides operations for formatting and writing data into a fixed-size array (#105 <https://github.com/fmtlib/fmt/issues/105>_ and #122 <https://github.com/fmtlib/fmt/issues/122>_):

    .. code:: c++

    char buffer[100];
    fmt::ArrayWriter w(buffer);
    w.write("The answer is {}", 42);
    
    • โž• Added 0 A.D. <http://play0ad.com/>_ and PenUltima Online (POL) <http://www.polserver.com/>_ to the list of notable projects using C++ Format.

    • ๐ŸŽ C++ Format now uses MSVC intrinsics for better formatting performance (#115 <https://github.com/fmtlib/fmt/pull/115>, #116 <https://github.com/fmtlib/fmt/pull/116>, #118 <https://github.com/fmtlib/fmt/pull/118>_ and #121 <https://github.com/fmtlib/fmt/pull/121>). Previously these optimizations where only used on GCC and Clang. Thanks to @CarterLi <https://github.com/CarterLi> and @objectx <https://github.com/objectx>_.

    • CMake install target (#119 <https://github.com/fmtlib/fmt/pull/119>). Thanks to @TrentHouliston <https://github.com/TrentHouliston>.

    You can now install C++ Format with make install command.

    • ๐Ÿ‘Œ Improved Biicode <http://www.biicode.com/>_ support (#98 <https://github.com/fmtlib/fmt/pull/98>_ and #104 <https://github.com/fmtlib/fmt/pull/104>). Thanks to @MariadeAnton <https://github.com/MariadeAnton> and @franramirez688 <https://github.com/franramirez688>_.

    • ๐Ÿ‘Œ Improved support for building with Android NDK <https://developer.android.com/tools/sdk/ndk/index.html>_ (#107 <https://github.com/fmtlib/fmt/pull/107>). Thanks to @newnon <https://github.com/newnon>.

    The android-ndk-example <https://github.com/fmtlib/android-ndk-example>_ repository provides and example of using C++ Format with Android NDK:

    .. image:: https://raw.githubusercontent.com/fmtlib/android-ndk-example/ master/screenshot.png

    • ๐Ÿ‘Œ Improved documentation of SystemError and WindowsError (#54 <https://github.com/fmtlib/fmt/issues/54>_).

    • Various code improvements (#110 <https://github.com/fmtlib/fmt/pull/110>, #111 <https://github.com/fmtlib/fmt/pull/111> #112 <https://github.com/fmtlib/fmt/pull/112>). Thanks to @CarterLi <https://github.com/CarterLi>.

    • ๐Ÿ‘Œ Improved compile-time errors when formatting wide into narrow strings (#117 <https://github.com/fmtlib/fmt/issues/117>_).

    • ๐Ÿ›  Fixed BasicWriter::write without formatting arguments when C++11 support is disabled (#109 <https://github.com/fmtlib/fmt/issues/109>_).

    • ๐Ÿ›  Fixed header-only build on OS X with GCC 4.9 (#124 <https://github.com/fmtlib/fmt/issues/124>_).

    • ๐Ÿ›  Fixed packaging issues (#94 <https://github.com/fmtlib/fmt/issues/94>_).

    • โž• Added changelog <https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst>_ (#103 <https://github.com/fmtlib/fmt/issues/103>_).