Skip to content

Releases: DNKpp/Simple-Utility

Hotfix 2.3.1

06 Aug 15:52
a0b899b
Compare
Choose a tag to compare

This release just fixes the all-in-one header functional.hpp

Version 2.3.0

06 Aug 15:29
Compare
Choose a tag to compare

The major change was a complete overhaul of the functional namespace. Some overcomplicated solutions were simplified and some of the features got removed (but may be back in future releases).

Removals

  • tuple::is_apply_invocable(_v)
  • tuple::is_nothrow_apply_invocable(_v)
  • nullables::value_or_fn
  • nullables::and_then_fn
  • nullables::or_else_fn
  • nullables::fwd_value_fn

Changes

  • rename concepts::apply_invocable to concepts::applicable
  • rename concepts::nothrow_apply_invocable to concepts::nothrow_applicable
  • rename tuple::apply_invoke_result(_t) to concepts::apply_result(_t)
  • rename concepts::tuple_like to concepts::tuple

Additions

  • add_type_const(_t)
  • remove_type_const(_t)
  • add_type_volatile(_t)
  • remove_type_volatile(_t)
  • add_type_cv(_t)
  • remove_type_cv(_t)
  • type_constness_as(_t)
  • type_volatileness_as(_t)
  • value_category_as(_t)
  • qualified_category_as(_t)
  • concepts::pointer
  • concepts::reference
  • concepts::decayed
  • concepts::unqualified
  • concepts::comparison_category
  • concepts::weakly_equality_comparable
  • concepts::nothrow_weakly_equality_comparable
  • concepts::weakly_three_way_comparable
  • concepts::nothrow_weakly_three_way_comparable
  • concepts::weakly_three_way_comparable_with
  • concepts::nothrow_weakly_three_way_comparable_with
  • tuple::transform_elements algorithm

Patch 2.2.2

14 May 12:29
Compare
Choose a tag to compare

Additions

  • type_list::unique

Hotfix 2.2.1

10 May 21:46
Compare
Choose a tag to compare

Fixes

  • functional::value_fn correctly unwraps its value type when returned

Version 2.2.0

06 May 20:52
Compare
Choose a tag to compare

Additions

  • type_list::TypeList type
  • concepts::type_list
  • concepts::populated_type_list
  • type_list::common_container
  • type_list::populated_from
  • type_list::reverse
  • type_list::pop_back
  • type_list::pop_front
  • type_list::front
  • type_list::back
  • type_list::index_of
  • type_list::contained_by
  • type_list::count
  • type_list::equal
  • type_list::unordered_equal
  • type_list::transform
  • type_list::filter
  • type_list::remove
  • type_list::remove_at
  • type_list::append
  • type_list::prepend
  • type_list::concat
  • type_list::intersection
  • type_list::intersection_as
  • type_list::difference
  • type_list::difference_as
  • type_list::symmetric_difference
  • type_list::symmetric_difference_as
  • type_list::zip_nth_elements
  • type_list::zip_nth_elements_as
  • type_list::zip
  • type_list::zip_as
  • type_list::cartesian_product
  • type_list::cartesian_product_as

Hotfix 2.1.3

11 Apr 15:00
Compare
Choose a tag to compare

fixes

  • docs deployment

Patch 2.1.2

11 Apr 14:43
Compare
Choose a tag to compare

Fixes

  • library docs generating
  • disable no_unique_address attribute if not available

Hotfix 2.1.1

19 Mar 22:02
Compare
Choose a tag to compare

fixes

  • add missing functional/utility.hpp include in functional.hpp
  • correct concept::tuple_like checks

Version 2.1.0

19 Mar 17:38
ca022a7
Compare
Choose a tag to compare

Additions

  • math related functions: remquo, frexp, modf
  • concepts for arithmetically operators
  • arithmetically functional objects: plus, minus, multiplies, divides, modulus and negate
  • tuple_like concept
  • tuple::envelop_elements algorithm and tuple::envelop_elements_result trait
  • tuple::zip algorithm and tuple::zip_result trait
  • tuple::cartesian_product algorithm and tuple::cartesian_product_result trait
  • functional::util::dereference and functional::util::addressof
  • functional::compare::three_way

Changes

  • functional::as moved to functional::util::as
  • functional::util::as yields now errors via static_assertion instead of concept constraint
  • move tuple related symbols into tuple namespace
  • move arithmetic functionals into functional/arithmetic.hpp
  • move compare functionals into functional/compare.hpp

Fix

  • ```functional`` predicates decay their operand types correctly

Hotfix 2.0.4

10 Dec 15:33
Compare
Choose a tag to compare

fix

  • functional::as relaxes constraint to explicitly convertible from source to target type