Re:C++20 Idioms for Parameter Packs
by spacechild1 on Tuesday February 27, 2024 @01:41PM
(#39527803)
But you have certainly been using variadic functions or classes, e.g. everytime you call std::make_unique(). Someone needs to write those :)
[ Parent
| on HN ]
Re:C++20 Idioms for Parameter Packs
by Night_Thastus on Tuesday February 27, 2024 @02:07PM
(#39528204)
That's a fair point. It wasn't a criticism of the feature - more confusion about what exactly it's supposed to be good at solving. I'm never clear if I should be reaching for it. make_unique() is a good example.