Skip to content

Version 2.1.6#66

Merged
Kim-J-Smith merged 9 commits into
mainfrom
version-2.1.6
Jun 9, 2026
Merged

Version 2.1.6#66
Kim-J-Smith merged 9 commits into
mainfrom
version-2.1.6

Conversation

@Kim-J-Smith

Copy link
Copy Markdown
Owner

Fixed

  • No swap in copy assignment.

Changed

  • Rename is_trivial_for_call as is_itanium_trivial_for_calls and is_reg_passable as is_register_passable.
  • Refactor is_callable_from and is_invocable_using.
  • Add specialization for is_register_passable for Windows x64.
  • Update README.md and make_fn.md.

Added

  • Add static call operator test.
  • Add stateless assign test.

Notes

  • std::constant_wrapper support is experimental as of v2.1.6.

* style: make_fn_log_error() don't need EMBED_INLINE.

* docs: better make_fn error log.

* chore: EMBED_DETAIL_REQUIRES_IMPL is useless.

* feat: remove useless operator=().

* style: rename check as not_empty.

* docs: update README.md .

* docs: better error information.

* docs: change EMBED_DETAIL_REPORT_IE.

* style: rename is_empty_normal and empty_normal.

* docs: add some comments.

* docs: change the README.md .

* test: enable bug test in GCC16.
* feat: no swap in copy assignment.
* docs: update chapter "Wrapper definition syntax" in README.md .

* docs: shorter example.

* docs: rename is_call_trivial as is_trivial_for_call.

* feat: add win_x64 'is_reg_passable' specialization.
* refactor: refactor `is_callable_from` and `is_invocable_using`.

* fix: fix bug in error "‘value’ is not a member of ‘ebd::detail::fn_traits::is_invocable_using_impl<int(), std::tuple<int (*&)()>, int()>’".

* feat: simplify `typename unwrap_signature<Signature>::template add_cv_like<T>` as `add_cv_like_sig_t`.
* style: use `add_cv_like_sig_t<Tp>` directly.

* chore: `!std::is_reference<T>::value` is an unnecessary constraint.

* test: add static call operator test.

* style: avoid using intermediate variable `is_trivial_for_calls`.

* test: move `Static_call_operator_test` to additional test.
@Kim-J-Smith Kim-J-Smith self-assigned this Jun 8, 2026
@Kim-J-Smith Kim-J-Smith added the new version The candidate for next release version. label Jun 8, 2026

@Kim-J-Smith Kim-J-Smith left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This version is basically a tiny patch without any new feature.

@Kim-J-Smith Kim-J-Smith merged commit 6525067 into main Jun 9, 2026
58 checks passed
@Kim-J-Smith Kim-J-Smith deleted the version-2.1.6 branch June 9, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new version The candidate for next release version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant