-
Notifications
You must be signed in to change notification settings - Fork 511
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
Supports string_view for bind #355
base: master
Are you sure you want to change the base?
Conversation
@SRombauts can you please help let me know how to test the code using Google Test? I am having issues compiling the test even without my patch with errors:
I am using Apple Clang:
|
C++11 is a minimal standard version for this project.This isn't compiling because your new methods variants with std::string_view aren't framed within C++17 requirement macro. Thanks for trying implementing methods with std::string_view, it would be very helpful for me and probably many others. 😸 |
You should probably look at PR #224, which tried to implement this before. |
Hi, with the removal of the remaining |
also keep in mind as your PR may be outdated you need to sync it with the upstream in order to receive those updates. as for the so basically what you need to do is:
optionally you can add the switch on CMake or Meson so any other user can disable it, if not I can add it for you on other PR. feel free to let us know if there is something else that you may need help as this is a good addition to the project. |
With this patch, it is possible to bind
string_view
, which addresses PR #298.