Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To clarify, I think by “move things from stack to heap” you mean “move values from stack to heap”, where, e.g., `std::vector<int>` is a value. The vector’s data is still on the heap (or in the allocator’s pool for `std::pmr::vector<int>`) but the value in the sense of value-semantics is moved from stack to heap.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: