I have been talking about this since quite a long time. It is (maybe)
time to offer the first release.
The URL is:
http://www.cs.virginia.edu/~lcc-win32/container.html
I did not check the specifications, but spent a few minutes browsing the source.
(BTW in unix the code did not link because you omitted -Lm )
IMHO the semantics of your bitstrings are strange.
I would expect the logical AND of two bitstrings of unequal length, that the shorter one
would be extended with '0' bits, not with '1' bits.
011 & 1101101 -->> 010
(if left adjusted or 001 if right ajusted)
, but no more than two '1'bits could *ever* be in the result, because the left operand
only has two '1' bits.
(Similar for logical or)
For the rest: I don't intend to use your container library. I have code for most of the stuff
you present which fits better into my projects and my style of coding. No offense.
Also: for the trivial stuff, most of your code seems useable. (but most of us have
reinvented the trivial stuff several times)
For the nontrivial applications, it is nearly useless, IMO.
For example: consider the case of a LRU chain with a built-in hashtable: this will
have to be handmade, at least to get enough data-density / locality-of reference.
Combining a hashtable container with a doubly linked list container is just not
good enough.
IMO, YMMV,
AvK