3 ms·
Anything C++11 forward is alright with me, though 17 introduces some very nice conveniences like <execution>, <filesystem> and most critically <optional>. Honor
by Night_Thastus 3y ago
Anything C++11 forward is alright with me, though 17 introduces some very nice conveniences like <execution>, <filesystem> and most critically <optional>. Honorable mention to std::clamp too.
- ska 3y ago> Honorable mention to std::clamp too. One shudders to think how many times variations of that template have been written in house.
- Night_Thastus 3y agoHeck, I find so many cases where std::min and std::max could be used as well.
- frfl 3y ago23 introduced <expected> (result/either) as well
- spacechild1 3y agoI would like to add: - structured bindings - auto parameters in lambdas - init statements in if and switch clauses - template argument deduction for constructors