Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use perfect forwarding from apply_operation to visit #491

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

sdebionne
Copy link
Contributor

@sdebionne sdebionne commented May 6, 2020

Description

Add a couple of overloads of apply_operation for binary operations. This is necessary until boostorg/variant2#20 is implemented. At that point apply_operation won't be necessary anymore (or could perfect forward to visit).

Tasklist

  • Ensure all CI builds pass
  • Review and approve

@mloskot mloskot added ext/dynamic_image boost/gil/extension/dynamic_image cat/enhancement Improvements, but not fixes addressing identified bugs labels May 6, 2020
@mloskot
Copy link
Member

mloskot commented May 6, 2020

I'm not sure myself, but perhaps you have checked @sdebionne if there is anything in the tests that calls these, is there?

@sdebionne
Copy link
Contributor Author

Since boostorg/variant2#20 is already implemented, I need to revisit this MR! I'll check the tests as well...

@sdebionne sdebionne force-pushed the add-apply-operation-overloads branch from d5e1925 to d400a78 Compare May 7, 2020 15:53
@sdebionne sdebionne changed the title Add apply_operation overloads for binary operations Use perfect forwarding from apply_operation to visit May 7, 2020
@mloskot
Copy link
Member

mloskot commented Jun 4, 2020

@sdebionne Could you let me know if this is ready to review and merge. It's been a while and I might have missed any update

@sdebionne
Copy link
Contributor Author

@mloskot Sorry I forgot to update the state from draft to ready to review.

@sdebionne sdebionne marked this pull request as ready for review June 16, 2020 13:21
Copy link
Member

@mloskot mloskot left a comment

Choose a reason for hiding this comment

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

Thanks for this refactoring

@mloskot mloskot added this to the Boost 1.74+ milestone Jun 16, 2020
@mloskot mloskot merged commit 7611636 into boostorg:develop Jun 16, 2020
simmplecoder pushed a commit to simmplecoder/gil that referenced this pull request Jun 24, 2020
Manually confirmed the changes have been verified by the dynamic_image tests ~@mloskot
mloskot added a commit that referenced this pull request Jul 11, 2020
* develop:
  Collect release notes for Boost 1.74
  Fix missing header in numeric/kernel.hpp to make it self-contained (#502)
  Use perfect forwading from apply_operation to visit (#491)
  Fix typos and replace mpl with mp11 in tutorial (#494)
  Implemented mechanism to reverse kernel_2d (#489)
  added missing const& in extend_boundary parameters (#490)
  Add initializing image constructor (#486)
  Fix interleaved_view factory using point<std::ptrdiff_t> for dimension (#487)
  RELEASES.md: Remove beta tag [ci skip]
  Replace Boost.Variant with Boost.Variant2 (#474)
  Fix error plane_view_t is not a class or namespace name (#481)
  Fix image constructor from other image (#477)
  Fix overflow in RGB to CMYK32 conversion (#470)
mloskot pushed a commit that referenced this pull request Jul 27, 2020
Fixes regression introduce in #491 when building in C++11
Fixes #510
@sdebionne sdebionne deleted the add-apply-operation-overloads branch October 14, 2020 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat/enhancement Improvements, but not fixes addressing identified bugs ext/dynamic_image boost/gil/extension/dynamic_image
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants