-
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
static operator()
for stateless functors
#4358
Merged
StephanTLavavej
merged 15 commits into
microsoft:main
from
frederick-vs-ja:static-call-operator
Feb 6, 2024
Merged
static operator()
for stateless functors
#4358
StephanTLavavej
merged 15 commits into
microsoft:main
from
frederick-vs-ja:static-call-operator
Feb 6, 2024
Commits on Jan 30, 2024
-
Define macros for
static operator()
Co-authored-by: Casey Carter <cacarter@microsoft.com>
Configuration menu - View commit details
-
Copy full SHA for bb6ae1d - Browse repository at this point
Copy the full SHA bb6ae1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bda039 - Browse repository at this point
Copy the full SHA 8bda039View commit details
Commits on Jan 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9d10474 - Browse repository at this point
Copy the full SHA 9d10474View commit details -
static operator()
for niebloidsDrive-by and fixes: change `(*this)(...)` to `operator()(...)`, and use more internal static member functions.
Configuration menu - View commit details
-
Copy full SHA for e2ff7d8 - Browse repository at this point
Copy the full SHA e2ff7d8View commit details -
static operator()
for other stateless functorsNote: `_Synth_three_way::operator()` is specified to be non-static in [expos.only.entity], but the class itself is exposition-only, so I think it's fine to make it `static`. Drive-by: `_Cmp_cs::operator()` lacked `const` befor. IMO it should have `const` when `static` is unavailable.
Configuration menu - View commit details
-
Copy full SHA for ad5c977 - Browse repository at this point
Copy the full SHA ad5c977View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ec83e3 - Browse repository at this point
Copy the full SHA 1ec83e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9995ab8 - Browse repository at this point
Copy the full SHA 9995ab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80086e2 - Browse repository at this point
Copy the full SHA 80086e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 166974b - Browse repository at this point
Copy the full SHA 166974bView commit details
Commits on Feb 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5a6ae25 - Browse repository at this point
Copy the full SHA 5a6ae25View commit details
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 460cebc - Browse repository at this point
Copy the full SHA 460cebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c422a30 - Browse repository at this point
Copy the full SHA c422a30View commit details -
Extract structs instead of lambda variable templates in
<execution>
.Not a copy-paste mistake: `is_nothrow_default_constructible_v<_Ty>` is correct for both `_Inplace_default_construct_fn` and `_Inplace_value_construct_fn`.
Configuration menu - View commit details
-
Copy full SHA for 986d82f - Browse repository at this point
Copy the full SHA 986d82fView commit details -
In
_Zip_transform_fn
, change_Is_invocation_noexcept
/`_Enable_cpo……` to be `consteval` functions.
Configuration menu - View commit details
-
Copy full SHA for 2661bd8 - Browse repository at this point
Copy the full SHA 2661bd8View commit details -
Style: Change 4 occurrences of
constexpr _STATIC_CALL_OPERATOR
=> `……_STATIC_CALL_OPERATOR constexpr`
Configuration menu - View commit details
-
Copy full SHA for ba6eee5 - Browse repository at this point
Copy the full SHA ba6eee5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.