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::ptr_fun deprecatd in C++11 and removed in C++17 #57

Closed
Ronakkumbhat opened this issue Jan 15, 2025 · 0 comments
Closed

std::ptr_fun deprecatd in C++11 and removed in C++17 #57

Ronakkumbhat opened this issue Jan 15, 2025 · 0 comments

Comments

@Ronakkumbhat
Copy link

Ronakkumbhat commented Jan 15, 2025

error: ‘std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]’ is deprecated: use 'std::function' instead [-Werror=deprecated-declarations]
34 | std::not1(std::ptr_fun(isspace))

possible fix here , yet to be merged : #33
refrence :
microsoft/bond#1081
https://en.cppreference.com/w/cpp/utility/functional/ptr_fun

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