Constrain distance function using is_iterator type trait#96
Constrain distance function using is_iterator type trait#96jeremy-murphy wants to merge 4 commits into
Conversation
|
Looks like this works in principle, now to add a unit test. (haha, so much for TDD...) |
|
One potential issue is that |
|
We should use |
|
The same restriction should probably be applied to |
Yeah, that's what I figured -- if it unconditionally uses |
OK, sure thing. |
|
@jeremy-murphy, hey, I started working on the unit test for #96. |
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
distancewill match anything, which gets annoying when your geometry algorithm for distance is...distance.