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

Now I understand. The approach described in the article above allows shared semantics (not only unique owner like with unique_ptr and vector) with little overhead. But some overhead is still present - destructors are called via indirection and thus can't be inlined.


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

Search: