This will be controversial. But I've watched a few cppcon talks and I'm tired of people recommending std::for_each. Ranged for loop wins every time. It's faster in debug. It's easier to debug. It's shorter. It's easier to extend. Use ranged for. Don't use trivial algorithms.
-
-
Not sure this is a great thing. unique_ptr and shared_ptr are almost primordial nowadays.
-
I hear you - but I very rarely deal directly with pointers
End of conversation
New conversation -
-
-
I'm a bit more modern than that. I use nullptr instead of NULL now. ;-) I also like the 'override' keyword (on the rare occasion for a virtual function.)
-
I think C++ has now reached levels of maturity as a good wine that if we keep to add useless features we will spoil it and become it like undrinkable vinegar...
-
Yup. It's morphing into a language I don't want to use anymore. If all these new features being suggested are added I won't be able to even read or understand "Modern C++" in 5-10 years. No thanks!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.