Hacker News new | ask | show | jobs
by Panzerschrek 232 days ago
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.