Skip to content
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

std::binary_function was removed from C++17. #119

Open
thynson opened this issue Dec 14, 2023 · 0 comments
Open

std::binary_function was removed from C++17. #119

thynson opened this issue Dec 14, 2023 · 0 comments

Comments

@thynson
Copy link

thynson commented Dec 14, 2023

struct WeightCompare : public std::binary_function<property_traits<EdgeWeights>::reference,

Since the codebase was migrated to C++17 and it failed to compiled by some compiler(Apple clang version 15.0.0), the above code need to be updated.

@thynson thynson changed the title Missing #include <functional> for std::binary_function std::binary_function was removed from C++17. Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant