Skip to content

Releases: Naios/function2

Fix warning for windows

04 Nov 12:46
Compare
Choose a tag to compare
4.2.4

Fix warning for windows

4.2.3

13 Jul 21:47
Compare
Choose a tag to compare

Full Changelog: 4.2.2...4.2.3

Maintainance Patch 4.2.2

26 Oct 11:35
Compare
Choose a tag to compare

Includes recent improvements

Release 4.2.0

16 Jun 17:25
Compare
Choose a tag to compare

Includes minor maintainance and stability patches from the last year

function2 v4.1.0

02 Apr 10:20
Compare
Choose a tag to compare
  • 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

function2 v4.0.0

04 Jan 11:55
Compare
Choose a tag to compare
  • 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);
};

function2 v3.1.0

18 Aug 23:33
Compare
Choose a tag to compare
  • [#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

function2 v3.0.0

15 Apr 22:26
Compare
Choose a tag to compare
  • [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

Version 2.3.0

04 Apr 13:17
Compare
Choose a tag to compare
  • #7
  • #10
  • Some minor improvements and warning fixes

Double destruction fix

01 Oct 01:07
Compare
Choose a tag to compare

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