2 ms·
Into the Extreme – Fold Expressions – C++
- coralkashri 3y agotemplate auto func(Args... args) { return (args || ... ); } std::cout << func("str"); Does it compile? What will be the output? Answers in the article :) Special thanks for a lightning conversion, Daisy Hollman!