3 ms·
Sorry, I misremembered the timeline. I thought they were part of C++03, but they're actually C++11. I was using shared_ptr when it was still part of Boost. I'v
by mark-r 9y ago
Sorry, I misremembered the timeline. I thought they were part of C++03, but they're actually C++11. I was using shared_ptr when it was still part of Boost.
I've edited my original comment to fix the error.
- umanwizard 9y agoBut `auto` was introduced in c++11, so your comment is still inaccurate ;)
- coldtea 9y agoParent said "since C++11 the only feature I've seen that's worth the cognitive load is auto". This means that (ignoring the mis-dating of the unique/shared_ptr) he already admitted, his comment is otherwise accurate.
- umanwizard 9y agoMy point was that `auto` was introduced in C++11, not "since C++11".
- coldtea 9y agoI don't think the parent's "since C++11" means "after C++11" but, "from C++11 and onwards". He explicitly said his reference was C++03