C++17 removes the long deprecated (since C++11) std::binary_function and std::random_shuffle.
FLANN does not build anymore of conforming C++17 compilers.
fyi the fix contains a performance bug...
it constructs a heavy rng in every for iteration...
It may not be noticable in practice but you probably want to fix it.
C++17 removes the long deprecated (since C++11)
std::binary_function
andstd::random_shuffle
. FLANN does not build anymore of conforming C++17 compilers.