Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-01-12 12:19:24

Kevlin Henney writes:
> >While we're defining container concepts, there ought to be a Bag
> >concept. A Bag is something that you can put and get items out of. For
> >instance, Dietmar's heaps and queue's would qualify as Bags.
> I feel this would be better termed a Dispenser (or Dispensor, if you wish
> to follow the *or convention used elsewhere :->). First, this is the more
> common term for the concept. Second, the term Bag already denotes something
> else: a set with repeating elements.

I was borrowing the term from Smalltalk, where it is used in the way I
described above.

The problem with "Dispenser" is that the common definition only has
the notion of removing, not also adding.



Boost list run by bdawes at, gregod at, cpdaniel at, john at