Skip to content

1.0.0

Compare
Choose a tag to compare
@vitaut vitaut released this 05 Feb 16:45
· 6110 commits to master since this release
  • Add support for a header-only configuration when FMT_HEADER_ONLY is defined before including format.h:

    #define FMT_HEADER_ONLY
    #include "format.h"
    
  • Compute string length in the constructor of BasicStringRef instead of the size method (#79). This eliminates size computation for string literals on reasonable optimizing compilers.

  • Fix formatting of types with overloaded operator << for std::wostream (#86):

    fmt::format(L"The date is {0}", Date(2012, 12, 9));
    
  • Fix linkage of tests on Arch Linux (#89).

  • Allow precision specifier for non-float arguments (#90):

    fmt::print("{:.3}\n", "Carpet"); // prints "Car"
    
  • Fix build on Android NDK (#93)

  • Improvements to documentation build procedure.

  • Remove FMT_SHARED CMake variable in favor of standard BUILD_SHARED_LIBS.

  • Fix error handling in fmt::fprintf.

  • Fix a number of warnings.