3 ms·
template auto func(Args... args) { return (args || ... ); } std::cout << func("str"); Does it compile? What will be the output? Answers in the article :) Sp
by coralkashri 3y ago
template 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!