|
Boost : |
Subject: Re: [boost] Formal Review Request: TypeErasure
From: Nevin Liber (nevin_at_[hidden])
Date: 2012-06-15 14:37:08
On 15 June 2012 09:36, Hite, Christopher <
Christopher.Hite_at_[hidden]> wrote:
> I think the use case for value based interface for a fat interface doesn't
> come up much.
>
It comes up as soon as I want a container of them.
Since they are not copyable or movable given just a base class reference, I
now have to clutter things up by externally managing them. Instead of a
vector<Foo>, I have to use something like vector<unique_ptr<Foo>>.
-- Nevin ":-)" Liber <mailto:nevin_at_[hidden]> (847) 691-1404
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk