You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Champion: Jan Schultke Chair: Andreas Weis Minute Taker: Nicolas Morales
Summary
After LWG review, most changes were minor, but a few design aspects were raised:
wide_result<T> as an aggregate: supports aggregate initialization and structured bindings, but orders low bits before high bits, which is counterintuitive and could lead to bugs.
Alignment: whether wide_result<uint64_t> should be overaligned (e.g. to 128 bits); the view was to leave this to the implementation.
Ordering guarantees: members are exposition-only but observable via reinterpret_cast / bit_cast. Wording option A gives no order guarantee; option B is a hard bit_cast guarantee that could force a swap on some architectures.
ACTION: We will continue discussion on the structure of the aggregate and wording related during next meeting.
Poll not taken (as more discussion is needed): Approve the changes in "P3642R6: Carry-less product: std::clmul" and send the paper back to LWG for C++29 (to be confirmed by an EP).
No polls were taken.
Next Steps
LEWG will continue discussing the design in a future meeting.
Champion: Jan Schultke Chair: Inbal Levi Minute Taker: Mark Hoemmen
Summary
Following reflector feedback, the author proposed dropping the integer-interoperability guarantee (Section 6.3) that made bit_cast of a wide_result part of the API, since that breaks encapsulation and reduces implementer freedom; a conversion operator can be added later instead. The proposal is to turn the wide_result struct into a class exposing public high / low member functions.
POLL: Remove the "3 recommended practice" to not indicate any implementation strategy. (3 Recommended practice: the member low-bits should precede the member high-bits in all specializations of wide_result if endian::native == endian::little ([bit.endian]).)
SF
F
N
A
SA
2
7
2
1
0
Attendance: 18 Author's Position: A Outcome: Consensus in favor.
POLL: Rename the member functions from "high_bits" / "low_bits" into "high" and "low".
SF
F
N
A
SA
3
8
2
0
0
Attendance: 18 Author's Position: F Outcome: Strong consensus in favor.
POLL: Apply the changes above (apply section 8 wording option A, the rename of the member functions from "high_bits" / "low_bits" into "high" and "low", and remove the "3 recommended practice") and re-send the updated P3642R7 paper to LWG for C++29 (to be confirmed by an EP).
SF
F
N
A
SA
4
9
1
0
0
Attendance: 18 Author's Position: SF Outcome: Consensus in favor.
Next Steps
The paper will be updated to P3642R7 with the approved changes and re-sent to LWG for C++29 (to be confirmed by an EP).
Activity
mattkretz commentedon May 30, 2025
Updated paper at https://isocpp.org/files/papers/P3642R1.html
mattkretz commentedon Jun 19, 2025
P3642R0: Carry-less product: std::clmul
2025-06-19 SG6 Minutes
Chair: Matthias Kretz
Champion: Jan Schultke
Summary
SG6 had no numerics concerns but recommended to include
std::simdoverloads into the paper.Polls
POLL: Forward P3642R1 to LEWG with the expectation that the next revision includes
std::simdoverloads.mattkretz commentedon Jun 19, 2025
@nliber @billy-baker Go directly to LEWG?
billy-baker commentedon Jun 19, 2025
LEWGI does not need to see the current or updated version with simd supprt.
21 remaining items
wg21bot commentedon Jul 17, 2026
P3642R6 Carry-less product: std::clmul (Jan Schultke)
[-]P3642 R5 Carry-less product: std::clmul[/-][+]P3642 R6 Carry-less product: std::clmul[/+]inbal2l commentedon Sep 21, 2026
2026-09-01 Library Evolution Telecon
P3642R6: Carry-less product: std::clmul
2026-09-01 Library Evolution Telecon Minutes
Champion: Jan Schultke
Chair: Andreas Weis
Minute Taker: Nicolas Morales
Summary
After LWG review, most changes were minor, but a few design aspects were raised:
wide_result<T>as an aggregate: supports aggregate initialization and structured bindings, but orders low bits before high bits, which is counterintuitive and could lead to bugs.wide_result<uint64_t>should be overaligned (e.g. to 128 bits); the view was to leave this to the implementation.reinterpret_cast/bit_cast. Wording option A gives no order guarantee; option B is a hardbit_castguarantee that could force a swap on some architectures.ACTION: We will continue discussion on the structure of the aggregate and wording related during next meeting.
Poll not taken (as more discussion is needed): Approve the changes in "P3642R6: Carry-less product:
std::clmul" and send the paper back to LWG for C++29 (to be confirmed by an EP).No polls were taken.
Next Steps
LEWG will continue discussing the design in a future meeting.
inbal2l commentedon Sep 21, 2026
2026-09-08 Library Evolution Telecon
P3642R6: Carry-less product: std::clmul
2026-09-08 Library Evolution Telecon Minutes
Champion: Jan Schultke
Chair: Inbal Levi
Minute Taker: Mark Hoemmen
Summary
Following reflector feedback, the author proposed dropping the integer-interoperability guarantee (Section 6.3) that made
bit_castof awide_resultpart of the API, since that breaks encapsulation and reduces implementer freedom; a conversion operator can be added later instead. The proposal is to turn thewide_resultstruct into a class exposing publichigh/lowmember functions.POLL: Remove the "3 recommended practice" to not indicate any implementation strategy. (3 Recommended practice: the member low-bits should precede the member high-bits in all specializations of
wide_resultifendian::native == endian::little([bit.endian]).)Attendance: 18
Author's Position: A
Outcome: Consensus in favor.
POLL: Rename the member functions from "high_bits" / "low_bits" into "high" and "low".
Attendance: 18
Author's Position: F
Outcome: Strong consensus in favor.
POLL: Apply the changes above (apply section 8 wording option A, the rename of the member functions from "high_bits" / "low_bits" into "high" and "low", and remove the "3 recommended practice") and re-send the updated P3642R7 paper to LWG for C++29 (to be confirmed by an EP).
Attendance: 18
Author's Position: SF
Outcome: Consensus in favor.
Next Steps
The paper will be updated to P3642R7 with the approved changes and re-sent to LWG for C++29 (to be confirmed by an EP).
inbal2l commentedon Sep 21, 2026
Poll was added to "2026-09 Library Evolution Polls" paper (P4335).
wg21bot commentedon Sep 23, 2026
P3642R7 Carry-less product: std::clmul (Jan Schultke)
[-]P3642 R6 Carry-less product: std::clmul[/-][+]P3642 R7 Carry-less product: std::clmul[/+]inbal2l commentedon Oct 27, 2026
P3642R7 forwarded to LWG in "2026-09 Library Evolution Polls" (outcomes: P4336).