Use the same name (with overloading) for both c++ distance functions.