this post was submitted on 08 Dec 2023
9 points (100.0% liked)

C++

1755 readers
1 users here now

The center for all discussion and news regarding C++.

Rules

founded 1 year ago
MODERATORS
top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

Pack indexing looks awesome, until now we had to do with TMP tricks to get the n-th element of a parameter pack (see this talk by Kris Jusiak: https://www.youtube.com/watch?v=LfOh0DwTP00 ). This could make the compilation of code heavily using std::tuple a bit faster (if the STL devs rewrite it to exploit that feature when C++26 is available instead of emulating it).