From WikiChip
Editing c++/standard library

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{c++ title|Standard Library}}
 
 
The '''C++ Standard Library''' is [[standard library|standardized collection]] of macros, values, types, templates, classes, functions, and objects for the [[C++ programming language]] declared or defined in 52 '''C++ library headers'''. The library provides a set of generic containers, utility functions to manipulate them, generic string and streams for input/output processing, memory management, thread management, and various other common services. The C++ Standard Library also incorporates a subset of the [[C Standard Library]] which includes 26 headers under a slightly different name.
 
The '''C++ Standard Library''' is [[standard library|standardized collection]] of macros, values, types, templates, classes, functions, and objects for the [[C++ programming language]] declared or defined in 52 '''C++ library headers'''. The library provides a set of generic containers, utility functions to manipulate them, generic string and streams for input/output processing, memory management, thread management, and various other common services. The C++ Standard Library also incorporates a subset of the [[C Standard Library]] which includes 26 headers under a slightly different name.
  
Line 10: Line 9:
  
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
|{{cpp|std/algorithm|<algorithm>}}
+
|<[[algorithm Header - C++|algorithm]]>
|{{cpp|std/array|<array>}}
+
|<[[array Header - C++|array]]>
|{{cpp|std/atomic|<atomic>}}
+
|<[[atomic Header - C++|atomic]]>
|{{cpp|std/bitset|<bitset>}}
+
|<[[bitset Header - C++|bitset]]>
|{{cpp|std/chrono|<chrono>}}
+
|<[[chrono Header - C++|chrono]]>
|{{cpp|std/codecvt|<codecvt>}}
+
|<[[codecvt Header - C++|codecvt]]>
|{{cpp|std/complex|<complex>}}
+
|<[[complex Header - C++|complex]]>
 
|-
 
|-
|{{cpp|std/condition_variable|<condition_variable>}}
+
|<[[condition_variable Header - C++|condition_variable]]>
|{{cpp|std/deque|<deque>}}
+
|<[[deque Header - C++|deque]]>
|{{cpp|std/exception|<exception>}}
+
|<[[exception Header - C++|exception]]>
|{{cpp|std/forward_list|<forward_list>}}
+
|<[[forward_list Header - C++|forward_list]]>
|{{cpp|std/fstream|<fstream>}}
+
|<[[fstream Header - C++|fstream]]>
|{{cpp|std/functional|<functional>}}
+
|<[[functional Header - C++|functional]]>
|{{cpp|std/future|<future>}}
+
|<[[future Header - C++|future]]>
 
|-
 
|-
|{{cpp|std/initializer_list|<initializer_list>}}
+
|<[[initializer_list Header - C++|initializer_list]]>
|{{cpp|std/iomanip|<iomanip>}}
+
|<[[iomanip Header - C++|iomanip]]>
|{{cpp|std/iosfwd|<iosfwd>}}
+
|<[[iosfwd Header - C++|iosfwd]]>
|{{cpp|std/ios|<ios>}}
+
|<[[ios Header - C++|ios]]>
|{{cpp|std/iostream|<iostream>}}
+
|<[[iostream Header - C++|iostream]]>
|{{cpp|std/istream|<istream>}}
+
|<[[istream Header - C++|istream]]>
|{{cpp|std/iterator|<iterator>}}
+
|<[[iterator Header - C++|iterator]]>
 
|-
 
|-
|{{cpp|std/limits|<limits>}}
+
|<[[limits Header - C++|limits]]>
|{{cpp|std/list|<list>}}
+
|<[[list Header - C++|list]]>
|{{cpp|std/locale|<locale>}}
+
|<[[locale Header - C++|locale]]>
|{{cpp|std/map|<map>}}
+
|<[[map Header - C++|map]]>
|{{cpp|std/memory|<memory>}}
+
|<[[memory Header - C++|memory]]>
|{{cpp|std/mutex|<mutex>}}
+
|<[[mutex Header - C++|mutex]]>
|{{cpp|std/new|<new>}}
+
|<[[new Header - C++|new]]>
 
|-
 
|-
|{{cpp|std/numeric|<numeric>}}
+
|<[[numeric Header - C++|numeric]]>
|{{cpp|std/ostream|<ostream>}}
+
|<[[ostream Header - C++|ostream]]>
|{{cpp|std/queue|<queue>}}
+
|<[[queue Header - C++|queue]]>
|{{cpp|std/random|<random>}}
+
|<[[random Header - C++|random]]>
|{{cpp|std/ratio|<ratio>}}
+
|<[[ratio Header - C++|ratio]]>
|{{cpp|std/regex|<regex>}}
+
|<[[regex Header - C++|regex]]>
|{{cpp|std/scoped_allocator|<scoped_allocator>}}
+
|<[[scoped_allocator Header - C++|scoped_allocator]]>
 
|-
 
|-
|{{cpp|std/set|<set>}}
+
|<[[set Header - C++|set]]>
|{{cpp|std/sstream|<sstream>}}
+
|<[[sstream Header - C++|sstream]]>
|{{cpp|std/stack|<stack>}}
+
|<[[stack Header - C++|stack]]>
|{{cpp|std/stdexcept|<stdexcept>}}
+
|<[[stdexcept Header - C++|stdexcept]]>
|{{cpp|std/streambuf|<streambuf>}}
+
|<[[streambuf Header - C++|streambuf]]>
|{{cpp|std/string|<string>}}
+
|<[[string Header - C++|string]]>
|{{cpp|std/strstream|<strstream>}}
+
|<[[strstream Header - C++|strstream]]>
 
|-
 
|-
|{{cpp|std/system_error|<system_error>}}
+
|<[[system_error Header - C++|system_error]]>
|{{cpp|std/thread|<thread>}}
+
|<[[thread Header - C++|thread]]>
|{{cpp|std/tuple|<tuple>}}
+
|<[[tuple Header - C++|tuple]]>
|{{cpp|std/typeindex|<typeindex>}}
+
|<[[typeindex Header - C++|typeindex]]>
|{{cpp|std/typeinfo|<typeinfo>}}
+
|<[[typeinfo Header - C++|typeinfo]]>
|{{cpp|std/type_traits|<type_traits>}}
+
|<[[type_traits Header - C++|type_traits]]>
|{{cpp|std/unordered_map|<unordered_map>}}
+
|<[[unordered_map Header - C++|unordered_map]]>
 
|-
 
|-
|{{cpp|std/unordered_set|<unordered_set>}}
+
|<[[unordered_set Header - C++|unordered_set]]>
|{{cpp|std/utility|<utility>}}
+
|<[[utility Header - C++|utility]]>
|{{cpp|std/valarray|<valarray>}}
+
|<[[valarray Header - C++|valarray]]>
|{{cpp|std/vector|<vector>}}
+
|<[[vector Header - C++|vector]]>
 
|}
 
|}
  
 
== C Headers ==
 
== C Headers ==
{{main|C Standard Library}}
 
 
The C++ standard library provides a subset of the facilities of the [[C Standard Library]] in 26 headers. They have the same name as their C header counterparts except the ".h" is dropped and a "c" prefix is added to them.
 
The C++ standard library provides a subset of the facilities of the [[C Standard Library]] in 26 headers. They have the same name as their C header counterparts except the ".h" is dropped and a "c" prefix is added to them.
  
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
 
{| style="width: 600px; margin-left: auto; margin-right: auto;"
|{{cpp|std/cassert|<cassert>}}
+
|<[[cassert Header - C++|cassert]]>
|{{cpp|std/ccomplex|<ccomplex>}}
+
|<[[ccomplex Header - C++|ccomplex]]>
|{{cpp|std/cctype|<cctype>}}
+
|<[[cctype Header - C++|cctype]]>
|{{cpp|std/cerrno|<cerrno>}}
+
|<[[cerrno Header - C++|cerrno]]>
|{{cpp|std/cfenv|<cfenv>}}
+
|<[[cfenv Header - C++|cfenv]]>
 
|-
 
|-
|{{cpp|std/cfloat|<cfloat>}}
+
|<[[cfloat Header - C++|cfloat]]>
|{{cpp|std/cinttypes|<cinttypes>}}
+
|<[[cinttypes Header - C++|cinttypes]]>
|{{cpp|std/ciso646|<ciso646>}}
+
|<[[ciso646 Header - C++|ciso646]]>
|{{cpp|std/climits|<climits>}}
+
|<[[climits Header - C++|climits]]>
|{{cpp|std/clocale|<clocale>}}
+
|<[[clocale Header - C++|clocale]]>
 
|-
 
|-
|{{cpp|std/cmath|<cmath>}}
+
|<[[cmath Header - C++|cmath]]>
|{{cpp|std/csetjmp|<csetjmp>}}
+
|<[[csetjmp Header - C++|csetjmp]]>
|{{cpp|std/csignal|<csignal>}}
+
|<[[csignal Header - C++|csignal]]>
|{{cpp|std/cstdalign|<cstdalign>}}
+
|<[[cstdalign Header - C++|cstdalign]]>
|{{cpp|std/cstdarg|<cstdarg>}}
+
|<[[cstdarg Header - C++|cstdarg]]>
 
|-
 
|-
|{{cpp|std/cstdbool|<cstdbool>}}
+
|<[[cstdbool Header - C++|cstdbool]]>
|{{cpp|std/cstddef|<cstddef>}}
+
|<[[cstddef Header - C++|cstddef]]>
|{{cpp|std/cstdint|<cstdint>}}
+
|<[[cstdint Header - C++|cstdint]]>
|{{cpp|std/cstdio|<cstdio>}}
+
|<[[cstdio Header - C++|cstdio]]>
|{{cpp|std/cstdlib|<cstdlib>}}
+
|<[[cstdlib Header - C++|cstdlib]]>
 
|-
 
|-
|{{cpp|std/cstring|<cstring>}}
+
|<[[cstring Header - C++|cstring]]>
|{{cpp|std/ctgmath|<ctgmath>}}
+
|<[[ctgmath Header - C++|ctgmath]]>
|{{cpp|std/ctime|<ctime>}}
+
|<[[ctime Header - C++|ctime]]>
|{{cpp|std/cuchar|<cuchar>}}
+
|<[[cuchar Header - C++|cuchar]]>
|{{cpp|std/cwchar|<cwchar>}}
+
|<[[cwchar Header - C++|cwchar]]>
 
|-
 
|-
|{{cpp|std/cwctype|<cwctype>}}
+
|<[[cwctype Header - C++|cwctype]]>
 
|}
 
|}
  
 
[[Category:C++]]
 
[[Category:C++]]
 
[[Category:C++ standard library]]
 
[[Category:C++ standard library]]
[[Category:Standard libraries]]
 

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)