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 generic detection idiom in isFinite() #3402

Merged
merged 3 commits into from
Oct 15, 2019

Conversation

kunaltyagi
Copy link
Member

Enhances PCL to have isXYFinite, isXYZFinite, isNormalFinite to handle specific cases in algorithm, not dependent on the actual type but still dependent on the contents.

Adds concepts like classes for future modernization for SFINAE.

\fixes #2664 (the concerns raised in it)

common/include/pcl/point_types.h Show resolved Hide resolved
common/include/pcl/point_types.h Show resolved Hide resolved
common/include/pcl/point_types.h Show resolved Hide resolved
common/include/pcl/common/point_tests.h Outdated Show resolved Hide resolved
common/include/pcl/common/point_tests.h Outdated Show resolved Hide resolved
@kunaltyagi
Copy link
Member Author

Yeah, can't figure out the how to resolve the boost errors. They are too verbose 😅

@SergioRAgostinho
Copy link
Member

I'll have a look at this later today 👍

Copy link
Member

@SergioRAgostinho SergioRAgostinho left a comment

Choose a reason for hiding this comment

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

LGTM 👍 . Thank you for the insight into the upcoming updates in the std lib. I'm assuming the CI issue are being caused by external factors.

Copy link
Member

@taketwo taketwo left a comment

Choose a reason for hiding this comment

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

LGTM, please rewrite the history as needed.

@taketwo taketwo changed the title Generic detection idiom for isFinite with more usage specificity Generic detection idiom for isFinite with more usage specific… Oct 15, 2019
@taketwo taketwo merged commit 3f68d14 into PointCloudLibrary:master Oct 15, 2019
@kunaltyagi kunaltyagi deleted the field_traits branch October 15, 2019 11:37
@taketwo taketwo changed the title Generic detection idiom for isFinite with more usage specific… Use generic detection idiom in isFinite() Jan 18, 2020
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.

pcl::isFinite type implementation
3 participants