3 ms·
>C++14 allows you to move capture in lambdas. Your quote says cpp11 and youre arguing with 14? Wtf?
by hardware2win 3y ago
>C++14 allows you to move capture in lambdas.
Your quote says cpp11 and youre arguing with 14? Wtf?
- leni536 3y agoThe limitations of C++11 shouldn't really be relevant today.
- deleted 3y ago[deleted]
- Night_Thastus 3y agoHahahaha. Oh that's a good one. Source: Someone who was, until recently, limited to C++03. Luckily we're up to 17 now, but occasionally 11 limitations creep in.
- thecodedmessage 3y agoAuthor of the blog post here. I am limited to C++11 for this, and will be limited to C++03 for some related projects. I did say C++11 in that comment, as I am of course aware that C++ has "fixed" that issue, but I'm still entitled to my gripes. I find it odd that someone claimed I was not aware the issue has been fixed in later versions, when I specifically said a version. People seem to be very motivated to assume I'm wrong about C++... because otherwise they'd have to admit that their favorite language has flaws. In any case, I revised that section to explain how even the "fixed" version in C++14 is still a paper-cut, and make the section hopefully flow a little better. ETA: I replied to the right comment. I'm agreeing with you :-)
- Night_Thastus 3y agoDid you reply to the wrong comment? I was just saying that being stuck on older versions is more common that most people think.
- deleted 3y ago[deleted]