We need to rethink remove in std.container

Philippe Sigaud philippe.sigaud at gmail.com
Tue Feb 22 22:30:49 PST 2011


On Tue, Feb 22, 2011 at 23:20, Steven Schveighoffer <schveiguy at yahoo.com> wrote:
>
> s/insert/put
>
> Now all containers that support insertion are output ranges...
>
> Or am I missing something?

I mean that, in the same way that a container can expose its elements
as an input range using [], a partially filled container could give
access to its empty 'slots' (created by 'reserve()' ) via an output
range.


More information about the Digitalmars-d mailing list