Better HN
topnewbestaskshowjobs
Log inSign up

klrtaj

2 karma · joined Sep 14, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

A great example of the rule is that C++ rediscovers car/cdr at a glacial pace in the template language. In C++26 one can finally get the car of a typename parameter pack with Args...[0].

I've no idea why they don't introduce car/cdr functions and nil for empty parameter packs and allow to store parameter packs instead of the current syntax insanity.