This is the
talk page for discussing improvements to the
C++ Standard Library article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google ( books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1Auto-archiving period: 60 days |
This article is rated Start-class on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||
|
Currently there's quite a lot of mess in the articles about C++ containers. A lot of content is duplicated across articles about similar containers. Also, we have quite much material that is reference manual-like or too detailed. I think the situation could be improved by reorganization. My suggestion is that we implement the same structure as in the C++ standard:
array
, vector
, list
, forward_list
, deque
,map
, set
, multimap
, multiset
unordered_map
, unordered_set
, unordered_multimap
, unordered_multiset
queue
, stack
, priority_queue
Since each article would cover similar containers, there would be quite less content duplication. The quality of the articles would increase, since the material such as differences among containers could be covered in one place. Lastly, the WP:NOTMANUAL issue would be reduced: the function listings could be merged (I think we could have tables similar to [1], just not for all containers at once and maybe using different style), the functionality itself could be compared, and examples merged. Any thoughts? 1exec1 ( talk) 20:01, 2 December 2011 (UTC)
There's an ongoing discussion about whether C++ Standard Library is a proper noun or not. Please express your opinion. 1exec1 ( talk) 17:43, 3 December 2011 (UTC)
In this article I am missing information about the history: When was it proposed? What was the first implementations? Different years/dates for various versions? Dependency on versions of C++?
-- Mortense ( talk) 13:48, 12 April 2020 (UTC)
Section 1.4.3 talks about the 1998 standard. Section 1.4.3.2, titled "The Standard Library" has this to say:The C++ language evolved hand in hand with some of the key library facilities presented in this book. For example, I designed the complex, vector, stack, and (I/O) stream classes together with the operator overloading mechanisms. The first string and list classes were developed by Jonathan Shopiro and me as part of the same effort. ... The development of the template facility was influenced by a variety of vector, map, list, and sort templates devised by Andrew Koenig, Alex Stepanov, me, and others.
The greatest and most important innovation in the 1998 standard was the inclusion of the STL, a framework of algorithms and containers, in the standard library. It was the work of Alex Stepanov (with Dave Musser, Meng Lee, and others) based on more than a decade's work on generic programming. Andrew Koenig, Beman Dawes, and I did much to help get the STL accepted. ... Except for the STL, the standard library was a bit of a hodgepodge of components, rather than a unified design. ... The standard-library string had its origins in early work by Jonathan Shopiro and me at Bell Labs but was revised and extended by several different individuals and groups during standardization. The valarray library for numerical computation is primarily the work of Kent Budge. Jerry Schwarz transformed my streams library into the iostreams library using Andrew Koenig's manipulator technique and other ideas. The iostreams library was further refined during standardization, where the bulk of the work was done by Jerry Schwarz, Nathan Myers, and Norihiro Kumagai.
Why it is not mentioned in the text? Is there a reason for that? What about LLVM's implementation? — Preceding unsigned comment added by 2804:431:CFFB:BFC5:528C:3C3C:A5AF:E8CE ( talk) 21:48, 5 July 2020 (UTC)
I guess, STL is the algorithm and datastructure part of the standard library, typically std::vector, std::list, std::array, and the algoritmhs and iterators connecting to them. But iostream, fstream (writing to the console or into files) is not part of STL, they are the part of standard library. 84.3.83.186 ( talk) 21:29, 5 August 2020 (UTC)
This is the
talk page for discussing improvements to the
C++ Standard Library article. This is not a forum for general discussion of the article's subject. |
Article policies
|
Find sources: Google ( books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
Archives: 1Auto-archiving period: 60 days |
This article is rated Start-class on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||
|
Currently there's quite a lot of mess in the articles about C++ containers. A lot of content is duplicated across articles about similar containers. Also, we have quite much material that is reference manual-like or too detailed. I think the situation could be improved by reorganization. My suggestion is that we implement the same structure as in the C++ standard:
array
, vector
, list
, forward_list
, deque
,map
, set
, multimap
, multiset
unordered_map
, unordered_set
, unordered_multimap
, unordered_multiset
queue
, stack
, priority_queue
Since each article would cover similar containers, there would be quite less content duplication. The quality of the articles would increase, since the material such as differences among containers could be covered in one place. Lastly, the WP:NOTMANUAL issue would be reduced: the function listings could be merged (I think we could have tables similar to [1], just not for all containers at once and maybe using different style), the functionality itself could be compared, and examples merged. Any thoughts? 1exec1 ( talk) 20:01, 2 December 2011 (UTC)
There's an ongoing discussion about whether C++ Standard Library is a proper noun or not. Please express your opinion. 1exec1 ( talk) 17:43, 3 December 2011 (UTC)
In this article I am missing information about the history: When was it proposed? What was the first implementations? Different years/dates for various versions? Dependency on versions of C++?
-- Mortense ( talk) 13:48, 12 April 2020 (UTC)
Section 1.4.3 talks about the 1998 standard. Section 1.4.3.2, titled "The Standard Library" has this to say:The C++ language evolved hand in hand with some of the key library facilities presented in this book. For example, I designed the complex, vector, stack, and (I/O) stream classes together with the operator overloading mechanisms. The first string and list classes were developed by Jonathan Shopiro and me as part of the same effort. ... The development of the template facility was influenced by a variety of vector, map, list, and sort templates devised by Andrew Koenig, Alex Stepanov, me, and others.
The greatest and most important innovation in the 1998 standard was the inclusion of the STL, a framework of algorithms and containers, in the standard library. It was the work of Alex Stepanov (with Dave Musser, Meng Lee, and others) based on more than a decade's work on generic programming. Andrew Koenig, Beman Dawes, and I did much to help get the STL accepted. ... Except for the STL, the standard library was a bit of a hodgepodge of components, rather than a unified design. ... The standard-library string had its origins in early work by Jonathan Shopiro and me at Bell Labs but was revised and extended by several different individuals and groups during standardization. The valarray library for numerical computation is primarily the work of Kent Budge. Jerry Schwarz transformed my streams library into the iostreams library using Andrew Koenig's manipulator technique and other ideas. The iostreams library was further refined during standardization, where the bulk of the work was done by Jerry Schwarz, Nathan Myers, and Norihiro Kumagai.
Why it is not mentioned in the text? Is there a reason for that? What about LLVM's implementation? — Preceding unsigned comment added by 2804:431:CFFB:BFC5:528C:3C3C:A5AF:E8CE ( talk) 21:48, 5 July 2020 (UTC)
I guess, STL is the algorithm and datastructure part of the standard library, typically std::vector, std::list, std::array, and the algoritmhs and iterators connecting to them. But iostream, fstream (writing to the console or into files) is not part of STL, they are the part of standard library. 84.3.83.186 ( talk) 21:29, 5 August 2020 (UTC)