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

To be compatible with cpp17 and later, use lambda instead of std::not1 & std::bind2nd #31

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

playgithub
Copy link
Contributor

@playgithub playgithub commented Oct 14, 2022

Compiling with C++ 17 by MSVC failed because

  • std::not1
  • std::bind2nd

have been deprecated since C++ 17.

To solve it, use lambda instead.

@yanyiwu yanyiwu merged commit 2592781 into yanyiwu:master Oct 15, 2022
@yanyiwu
Copy link
Owner

yanyiwu commented Oct 15, 2022

Thanks

BHM-Bob added a commit to BHM-Bob/BA_1_2 that referenced this pull request Oct 17, 2022
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

Successfully merging this pull request may close these issues.

2 participants