-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Generic functor holder and constant image from functor. #1332
Conversation
The warning (transformed to an error because of the -Werror flag) was "function ... has internal linkage but is not defined" when checking CConstImage concept in tests/images/testFunctorConstImage.cpp
Thx Roland for the PR ! |
I'm writing a huge documentation about |
Definitely agree... please do so |
BTW I don't think we have any doc on all functions in BasicPointFunctors, BasicPointPredicates... beside the |
So we should choose a more generic name, like "Using functions, functors and lambdas in DGtal", starting with a list of available functors and ending with the current documentation of |
Yep |
thx |
Documentation moved (without the functors list) |
Seems perfect to me. The doc module is very complete and very clear. Congrats ! |
(my comments on the Changleog were due to a pending review.. I'll continue my review) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments on the doc (I've tried the new github suggestion for the typos..)
Before merging, this PR may need to change its naming convention:
What do you think ? |
This PR looks ready to be merged for me. @dcoeurjo Are you ok ? |
Fine for me but @rolanddenis has pending questions I think |
@rolanddenis can you please update this branch w.R.t. the master ? |
Done |
About my previous question, I was thinking about a naming like that:
|
Class name = concept name + (Functor) Holder Construction helper = hold + class name without Holder
I have modified the naming scheme accordingly to my last comment (except for the |
Thanks @rolanddenis . Merging |
PR Description
This PR adds:
std::function
CPointFunctor
modelChecklist
cmake
mode (otherwise, Travis C.I. will fail).