On 7/14/15 5:24 PM, Andrei Alexandrescu wrote:
On 7/14/15 5:13 PM, Mike wrote:
On Tuesday, 14 July 2015 at 14:06:04 UTC, Andrei Alexandrescu wrote:
STL's "sequential containers" do not have serial dependence on items.
There, "sequential" is meant as a converse of "associative".
Indeed, but the term "sequence" has existed long before the STL authors
(mis)used it. Actually, 3 of the 5 main "sequence containers" *are*
sequences. The other 2, vector (which is another name that has always
bothered me) and array, are really best described as a random-access
containers, but the authors probably didn't want to split hairs and make
another category.
All this is more proof it comes down to a judgment call. Yeah, vector is
probably a bit off,
Sorry for the incomplete thought - easy to figure :o). -- Andrei