All Versions
8
Latest Version
Avg Release Cycle
173 days
Latest Release
1159 days ago

Changelog History

  • v4.1.0 Changes

    April 02, 2020
    • ๐Ÿ›  Fix reference types in the return type #35
    • โž• Add a workaround for a MSVC 16.3.1 compiler regression #29
    • Propagate the empty state correctly into the erasure from function like types #27
    • ๐Ÿ›  Fix an issue that owning unique functions were accidentally copyable #23
    • ๐Ÿ›  Fix a typo in the function property #20
    • And more minor improvements and code cleanups
  • v4.0.0 Changes

    January 04, 2019
    • ๐Ÿ‘Œ Improved CMake packaging it is now possible to:
      • Install function2 properly
      • Include a function2 subdirectory as subproject
    • The minimum CMake version was raised to 3.11 because of issues with imported interface
      targets on lower versions.
    • Interface breaking change: The capacity is now an integral_type like type rather than
      specifying the size directly, this makes it possible to also specify the alignment and
      ๐Ÿ‘ it works better with capacities that shall hold a forward declared object which is defined later.

      struct my_capacity { static constexpr std::size_t capacity = sizeof(my_type); static constexpr std::size_t alignment = alignof(my_type); };

  • v3.1.0 Changes

    August 18, 2018
    • [#16] Readme Wording
    • ๐Ÿ‘ [#15] Support and propagate noexcept-qualified function types
    • [#14] Compilation error of fu2::unique_function having a capture
    • [#13] Constructing function_view from fu2::function
  • v3.0.0 Changes

    April 15, 2018
    • [a2b8cb0] Introduce the non owning function_view
    • [4a3ff15] Improvements to the size of the whole wrapper object
    • [387f493] The object is now guaranteed to be allocated inplace if it fits into the internal buffer
    • Many minor improvements
  • v2.3.0 Changes

    April 04, 2018
    • #7
    • #10
    • โš  Some minor improvements and warning fixes
  • v2.2.0 Changes

    October 01, 2017

    ๐Ÿš€ This release fixes a major issue which lead to a double destruction when using the standard std::allocator

  • v2.0.0 Changes

    September 21, 2017

    This is the second official release of function2

    • ๐Ÿ‘ The library was rewritten and requires C++14 support now ,
    • ๐Ÿ‘ function2 supports multiple signatures now
  • v1.0 Changes

    December 06, 2016

    function2 - stable version 1.0