|
Boost : |
Subject: Re: [boost] Abstract STL Container Adaptors
From: Nevin Liber (nevin_at_[hidden])
Date: 2013-03-18 10:35:11
On 18 March 2013 07:29, Thorsten Ottosen <thorsten.ottosen_at_[hidden]>wrote:
> Its no different than using boost::function<>, that is, it allow us to
> make a generic interface with decisions deferred till run-time (at the
> expense of a performance loss).
>
It isn't just *one* generic interface; the underlying iterators have to be
type erased as well.
While we certainly *can* do this, I see lots of handwaving and not any
actual use cases.
-- 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