
1 Jun
2016
1 Jun
'16
12:25 a.m.
On May 28, 2016, at 10:35 PM, Vladimir Batov
and IMO the proposed design does have advantage over unique_ptr-based pimpl as IMO unique_ptr hardly has any advantage over the raw pointer -- even the destructor has to be explicit non-default and non-inlined.
<nitpick> You keep saying this and it is like fingernails on a chalkboard to me. The correct statement is not that far off of what you’re saying, and does not invalidate your point. The unique_ptr-based pimpl has to have an outlined destructor, but it can (and should) be defaulted: Book::~Book() = default; Howard