-
Notifications
You must be signed in to change notification settings - Fork 1
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
Minimal C++ requirement #11
Comments
I think we're finding for most Beman libs it's going below C++20 isn't a productive use of time. So for me that's the minimum. @robert-andrzejuk can you expound more on what you're thinking with static operator()? |
https://www.open-std.org/JTC1/SC22/WG21/docs/papers/2022/p1169r4.html This allows lambdas to be In the demo implementation, I had to consider this case when calling the check functions. |
Note that In my experience with other library, the main friction is concepts, it is painful to emulate |
The experimental implementations (for example GCC) are locked behind:
std::invocable
a useful concept is only available from C++20 upwards.A C++23 feature which (maybe) should be taken under consideration is "static operator()".
GCC and clang have already a C++23 setting.
MSVC does not.
If agreed upon, this requirement needs cmake script files changes.
The text was updated successfully, but these errors were encountered: