-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
P1169R4 static
operator()
#2954
Comments
FYI, Clang 16 has implemented this feature. |
I'm working on this. |
EDG now supports this as Future Technology (VS-PR-532076) so we're just waiting for MSVC. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
P1169R4
static
operator()
In addition to core language changes, the paper also requires extending deduction guides for
function
andpackaged_task
to deduce from classes with staticoperator()
.No library feature-test macro.
The library change is meaningless and not testable as long as the core change is not implemented. Once the compilers have implemented this feature, I think we can change some CPOs, niebloids, and internally used lambdas to use static
operator()
.The text was updated successfully, but these errors were encountered: