-
Notifications
You must be signed in to change notification settings - Fork 782
[simd.permute.*] Fix wording that referred to V after renaming V to M for some overloads #8132
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
base: main
Are you sure you want to change the base?
[simd.permute.*] Fix wording that referred to V after renaming V to M for some overloads #8132
Conversation
… for some overloads
@Dani-Hub Could you take a look please? |
I'm not sure whether I get the full idea. Could you please write it down for one example, @mattkretz ? |
The alternative wording idea is only for [simd.permute.static]. I'm currently compiling a new std.pdf and will attach a screenshot ASAP. The renaming from |
Yeah the
|
The return type is
Note that I changed the other [simd.permute.*] subclauses to use |
What I'm trying to say is that it could be a non-static access depending on the actual template argument. Personally I feel that this goes beyond an editorial change, but maybe @jwakely has a different opinion. |
The template argument is constrained to enabled specializations of |
I don't want to speculate on that. This is a subtlety to me and I really don't see the editorial advantage. |
Just as an example: Unless I'm mistaken, user code could potentially specialize |
Technically, a user can specialize But more important to me here is the design intent behind (edit: clarify |
Oh, the editorial advantage is that we don't need an "Let To me, if I have to choose between "Let (edit: remove useless speculation) |
[simd.permute.static] Now says 'Let
V
beM
…' which is the shortest solution here. Alternatively, we could introduceT
to beV::value_type
/bool
for the two overloads and instead ofV::size()
writev.size()
.Also, maybe we want to rename the function parameter from
v
tox
for the [simd.permute.*] functions?