by otabdeveloper2 · 8y ago · 0 comments
This is not minutae. This is a test if you understand the theory behind ownership semantics.
No.
Those utilities weren't standardized before C++11. People wrote their own implementations before that. People had to understand stack unwinding and scoping, memory, RAII, design patterns that relate to allocation/de-allocation of memory, ownership transfer.
Then came in the people that decided it'd be a great idea to start quizzing others about C++11 concretions.
So it has been almost a decade. How much longer before the whole move semantics addition to the language specification becomes relevant to you?
That's quite a disigenuous statement. Work on C++11 started after the approval of c++98, and the c++0x smart pointers have been implemented and available for quite a while before C++11 was finalized.