The standard library isn't actually called the STL, though.
STL was what the C++ containers (and related stuff) were based on.
The standard library isn't actually called the STL, though.
STL was what the C++ containers (and related stuff) were based on.
O_oSTL was what the C++ containers (and related stuff) were based on.
That's not at all accurate.
The C++ standard library isn't called the "STL". The "STL" is a part of the C++ standard library.
The concepts that drive and were to become the "STL" was developed before, beyond, and also as part of the process to standardize C++.
The various libraries calling themselves "C++ STL" are implementations of that part of the C++ standard library that is also called the "STL".
So, no, the "STL" isn't based on the C++ standard library and the C++ standard library isn't based on the "STL". The "STL" is part of the C++ standard library and holds that name as coined by members of the standardizing committee.
Soma
Stroustrup's C++ glossary entry for "STL" appears to agree more with manasij7479's assertion that the "STL was what the C++ containers (and related stuff) were based on".Originally Posted by phantomotap
EDIT:
Oh, but Stroustrup happily calls the STL "the containers and algorithms part of the ISO C++ standard library" in an FAQ answer. Or is this merely for convenience? But then if it is for convenience, then the statement that the name was "coined by members of the standardizing committee" for that part of the standard library rather than for Stepanov's own early work at HP, makes even more sense.
Last edited by laserlight; 06-16-2012 at 11:38 AM.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I'd say that either you are misreading that or I misread the statement made by manasij7479.Stroustrup's C++ glossary entry for "STL" appears to agree more with manasij7479's assertion that the "STL was what the C++ containers (and related stuff) were based on".
If you are to say that the "STL" (a C++ beast) is based on earlier works developed by Stepanov and cohorts then I'd have to agree because that is a true thing to say, but this earlier work was not the "STL" (C++ wasn't even capable of templates at the time) so can not be said to be the "STL" whether it influenced the standard library or not.
If you are to say that the "C++ Standard Library" is based on the "STL" then I'd have to disagree because the "STL" (the very first implementation of this C++ beast) was developed and formalized by a "call to arms" during the standardizing of the C++ programming language and library where the committee, Borland and Hewlett-Packard, and Stepanov and cohorts influenced each other until the thing that is the "STL" was folded into chapters 17-27 of the draft where it continued to evolve.
Soma
I had the impression that STL was a library written independently in pre standard C++, which was later adopted (but not the acronym itself ) by the standard as the design of the Standard Library.
I didn't know that it "was developed and formalized by a \"call to arms\" during the standardizing of the C++ programming language and library where the committee, Borland and Hewlett-Packard, and Stepanov and cohorts influenced each other..." .
Last edited by manasij7479; 06-16-2012 at 12:00 PM.
[Edit]
Actually, because I'm fairly sure I partially misinterpreted manasij7479 I think I'll leave this now to go back "on topic".
Or maybe split it off?
*shrug*
You know; I don't care. I'm going to go kill zombies!
[/Edit]
Pretty much every member of the standard board has referenced the "STL" as the "STL".Or is this merely for convenience?
Certainly from what I recall (I may be missing a book.) every book by a member of the standard board refers to the "STL" (as being a part of the standard library) at some point.
I actually still have the early drafts, some of the published communications, the original source, and Stepanov's own notes somewhere in my archives.But then if it is for convenience, then the statement that the name was "coined by members of the standardizing committee" for that part of the standard library rather than for Stepanov's own early work at HP, makes even more sense.
From what I can recall, Stepanov never had intended to develop a C++ library implementing his ideas (C++ at the time had no real generics support.) until Hewitt-Packard (He was already working at HP at the time.) offered him the opportunity to advance his ideas using facilities in the evolving C++ language. He never called it the "STL" until after Stroustrup had succeeded in bullying other members of the standard committee.
*shrug*
Of course, we can't know how much of that actually happened. I'm only going by what the men themselves have said.
A part of that statement is necessarily true.I had the impression that STL was a library written independently in pre standard C++, which was later adopted by the standard as the design of the Standard Library.
The "STL", as a component of the standard library, is part of the first international standard for the C++ programming language. It couldn't have been written in standard C++ because no standard existed as it was being created.
Soma
Last edited by phantomotap; 06-16-2012 at 12:39 PM.
The STL is the coloquial reference to the part of the standard library that deals with containers, iterators, algorithims, and all that. The standard probably does not use the term itself though.
"STL containers" is probably clearer to say than "standard containers," because primative arrays could be argued to be "standard containers". "Standard container" could mean STL compatible container, which is not the intended meaning here.
It is too clear and so it is hard to see.
A dunce once searched for fire with a lighted lantern.
Had he known what fire was,
He could have cooked his rice much sooner.
Well bid and done.Originally Posted by phantomotap
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
@iMalc: Off those 2 I'd prefer PvZ ... L4D 2 is a bit gory~ish for me. Though Prototype 2 aint that bad even with some gore in it
So end result of the topic is "the Standard Template Library (STL) part of C++ Standard" was not wrong?
-- reserved for when I come up with 1 --
I don't really do the "Left 4 Dead", but I do have a weird obsession with "Plants versus Zombies".What's your zombie game of choice?
It depends on my mood. I still love and play "Nazi Zombies" in the incarnations I own. (Heck, it is the only reason I still own the last "COD" I bought seeing as I didn't like the other bits of the game.) I also still play "The Island of Dr. Ned". (A game where you can head-shot 100 zombies in a single minute with a rifle thanks to bullets passing through the brain box for the zombie shot and a few behind it.) I also really like "I made a game with Zombies in it!".
Soma
And now I'm compelled to go buy a copy of "Prototype 2" thank you very much...Seriously, whoever thought that jumping up and skiing with a dead body was a good move, must've been really sick !
Soma