Subject: Re: [boost] Review Request: impl_ptr (pimpl)
From: Hans Dembinski (hans.dembinski_at_[hidden])
Date: 2017-08-18 09:50:43
> On 15. Aug 2017, at 02:51, Vladimir Batov via Boost <boost_at_[hidden]> wrote:
> Given that it is policy-based I am hoping others might get interested writing additional policies within that framework such as COW or stack-based.
Can you use custom allocators for all policies? If so, then the behavior of the behavior of the "onstack" policy could be achieved by using a stack-based allocator, like the one from Howard, right?
I think it is very elegant if one can switch to a stack-based version without huge code-refactoring if the performance need arises (I am paraphrasing your documentation).