18 Aug
2017
18 Aug
'17
9:50 a.m.
On 15. Aug 2017, at 02:51, Vladimir Batov via Boost
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? https://howardhinnant.github.io/stack_alloc.html 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). Best regards, Hans