Better HN
topnewbestaskshowjobs
Log inSign up

cliff_r

5 karma · joined Aug 30, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

The bit about special 'fast' handling of relocatable types should be obviated by r-value references and move constructors in C++11/14, right?

I.e. if we want fast push_back() behavior, we can use a compiler that knows to construct the element directly inside the vector's backing store rather that creating a temporary object and copying it into the vector.