Releases: Naios/function2
Releases · Naios/function2
Fix warning for windows
4.2.3
Full Changelog: 4.2.2...4.2.3
Maintainance Patch 4.2.2
Includes recent improvements
Release 4.2.0
Includes minor maintainance and stability patches from the last year
function2 v4.1.0
- 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
- 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
function2 v3.0.0
Version 2.3.0
Double destruction fix
This release fixes a major issue which lead to a double destruction when using the standard std::allocator