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

Moving coalescing registration to TUs #2076

Merged
merged 1 commit into from Apr 8, 2016
Merged

Moving coalescing registration to TUs #2076

merged 1 commit into from Apr 8, 2016

Conversation

sithhell
Copy link
Member

@sithhell sithhell commented Apr 6, 2016

This patch moves the parcel coalescing registration macros from the
headers into the translation units.

flyby: remove boost::mpl from base_lco and some minor header cleanup

This also fixes a memory leak reported from LeakSanitizer

@sithhell sithhell added this to the 0.9.12 milestone Apr 6, 2016
typedef typename boost::mpl::if_<
boost::is_same<void, Result>, util::unused_type, Result
typedef typename std::conditional<
std::is_same<void, Result>::value, util::unused_type, Result
>::type result_type;
Copy link
Member

Choose a reason for hiding this comment

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

Why not use std::is_void<Result>::value instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. I will change that.

@hkaiser
Copy link
Member

hkaiser commented Apr 6, 2016

LGTM, thanks!

This patch moves the parcel coalescing registration macros from the
headers into the translation units.

flyby: remove boost::mpl from base_lco and some minor header cleanup
@sithhell sithhell merged commit b258953 into master Apr 8, 2016
@sithhell sithhell deleted the coalescing branch April 8, 2016 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants