Replies: 1 comment
-
|
The fourth parameter is only there to help with dispatching / overloading / specializing. IIRC, only the void version is used, but it can be convenient as an implementation detail, when I don't want to provide the specialization, I provide it but with a wrong last parameter (int). I don't think I ever really used the "option" part of Get_functor, so I cannot promise how well it would work. For instance, I don't seem to forward the option consistently, Cartesian_wrap already drops it, so it wouldn't reach Lazy_cartesian, although that would probably not be too hard to fix. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@mglisse In
NewKernel_d, I seecgal/NewKernel_d/include/CGAL/NewKernel_d/functor_tags.h
Lines 32 to 33 in 0175389
I imagine that the third template parameter,
O, is an "option", that could be for exampleNo_lazyness, if we want a construction fromEpeckthat does not create a graph of construction.What was your plans for the fourth parameter? I have seen that code:
cgal/NewKernel_d/include/CGAL/NewKernel_d/utils.h
Lines 146 to 157 in 0175389
and it seems to be using that fourth parameter (with value
intorvoid). But I do not see where specializations withintare used.As said in #5892 (comment), I would like to review that API
Get_functor, and then consider adopting it for Kernel_23 as well.Beta Was this translation helpful? Give feedback.
All reactions