|
|
|
|
|
by mehrdadn
2118 days ago
|
|
He's comparing unique_ptr to just plain old-fashioned new and delete. Is it obvious to you what the actual cost is in moving between these? It's not really obvious and probably not what you think. I would listen to the full section of the talk on unique_ptr. |
|
But that's not the point - the point is that smart pointers never claimed to be zero-cost abstractions, AFAIK.