Boost logo

Boost :

Subject: Re: [boost] poly_collection (was sentinels vs iterators)
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-08-24 09:33:28


El 24/08/2014 10:59, Joaquin M Lopez Munoz escribió:

> This name misses the critical feature that elements are polymorphic.

Right. Unless you use the Poststcript idea of:

unordered_collection<std::string,int,char>

>> An interesting addition to Boost.Container?
>
> If I had the time :-/ I' ve been considering working a little more on
> this to turn the initial sketch into something resembling a full-fledged
> container, but it'd take me some days' work I don't have.

If you find time to elaborate the idea a bit further, designing a
full-fledged container with insertion, erasure, iterators, etc., then I
could add allocators and move semantics later.

Best,

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk