Skip to content

require c++17 #941

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

require c++17 #941

wants to merge 2 commits into from

Conversation

rdementi
Copy link
Contributor

No description provided.

Change-Id: I76019f2583601b0ada7808d3bb2be059584f1b0c
@opcm opcm requested a review from Copilot April 22, 2025 16:43
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the code to require C++17 by replacing deprecated std::bind1st calls with std::bind using std::placeholders, modernizing the whitespace trimming in the HTTPHeader class.

  • Updated the leading and trailing whitespace removal logic in HTTPHeader::splitHeaderValue.
  • Enhances compliance with C++17 standards.
Files not reviewed (1)
  • CMakeLists.txt: Language not supported

@rdementi rdementi requested a review from ogbrugge-work April 22, 2025 18:21
@ogbrugge
Copy link
Contributor

I created a pull request which uses a lambda instead of using std::bind and this also works with g++ 7.5.0. Not sure where c++17 support starts though. Is there a particular reason for wanting c++17 support?

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