Namespaces
Variants
Actions

Difference between revisions of "Main Page"

From cppreference.com
(+atomic and thread for C)
(Adjusted the layout to remove the blank section at the top when the CppCon banner is absent.)
 
(133 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{title|C and C++ reference}}
+
{{#switch:{{CURRENTMONTH1}}
 +
|7|8|9=
 +
{{fmbox|class=noprint|style=background: #efe;|text=[http://cppcon.org '''CppCon {{CURRENTYEAR}}''']<br>
 +
It's the annual, week-long gathering for the entire C++ community. [http://cppcon.org/registration Register now!]
 +
}}<br>}}{{title|C and C++ reference}}
 
{| class="mainpagetable" cellspacing=0 style="width:100%; white-space:nowrap;"
 
{| class="mainpagetable" cellspacing=0 style="width:100%; white-space:nowrap;"
|- class="row1"
+
|- class="row rowtop"
 
| colspan=3 |
 
| colspan=3 |
[[cpp|<span style="font-size: 2em;">C++ reference</span><br/>
+
[[cpp|<span style="font-size: 2em;">C++ reference</span>]]<br/>
<span style="font-size: 0.8em;">C++98, C++03, C++11</span>
+
{{main page cpp contents}}
]]
+
|-
|- class="row2"
+
|
+
'''[[cpp/language | Language]]'''
+
<div class="mainpagediv">
+
[[cpp/preprocessor | Preprocessor]]<br>
+
[[cpp/keyword | Keywords]]<br>
+
[[cpp/language/operator_precedence | Operator precedence]]<br>
+
[[cpp/language/escape | Escape sequences]]<br>
+
[[cpp/language/ascii | ASCII chart]]<br>
+
[[cpp/language/types | Fundamental types]]
+
</div>
+
 
+
'''[[cpp/header | Headers]]'''
+
 
+
'''[[cpp/concept | Concepts]]'''
+
 
+
'''[[cpp/utility | Utilities library]]'''
+
 
+
<div class="mainpagediv">
+
[[cpp/types | Type support]]<br/>
+
[[cpp/memory | Dynamic memory management]]<br/>
+
[[cpp/error | Error handling]]<br/>
+
[[cpp/utility/program | Program utilities]]<br/>
+
[[cpp/chrono | Date and time]]<br/>
+
{{ltt|cpp/utility/bitset}}<br/>
+
[[cpp/functional | Function objects]]<br/>
+
{{ltt|cpp/utility/pair}}&nbsp;&nbsp;−&nbsp;&nbsp;
+
{{ltt|cpp/utility/tuple}} {{mark c++11}}
+
</div>
+
 
+
|
+
 
+
'''[[cpp/string | Strings library]]'''
+
<div class="mainpagediv">
+
{{ltt|cpp/string/basic_string}}<br>
+
[[cpp/string/byte | Null-terminated byte strings]]<br>
+
[[cpp/string/multibyte | Null-terminated multibyte strings]]<br>
+
[[cpp/string/wide | Null-terminated wide strings]]
+
</div>
+
 
+
'''[[cpp/container | Containers library]]'''
+
 
+
<div class="mainpagediv">
+
{{ltt|cpp/container/array}} {{mark c++11}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/container/vector}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/container/deque}}<br>
+
{{ltt|cpp/container/list}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/container/forward_list}} {{mark c++11}}<br>
+
{{ltt|cpp/container/set}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/container/multiset}}<br>
+
{{ltt|cpp/container/map}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/container/multimap}}<br>
+
{{ltt|cpp/container/unordered_set}} {{mark c++11}}<br>
+
{{ltt|cpp/container/unordered_multiset}} {{mark c++11}}<br>
+
{{ltt|cpp/container/unordered_map}} {{mark c++11}}<br>
+
{{ltt|cpp/container/unordered_multimap}} {{mark c++11}}<br>
+
{{ltt|cpp/container/stack}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/container/queue}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/container/priority_queue}}
+
</div>
+
 
+
'''[[cpp/algorithm | Algorithms library]]'''
+
 
+
'''[[cpp/iterator | Iterators library]]'''
+
 
+
'''[[cpp/numeric | Numerics library]]'''
+
 
+
<div class="mainpagediv">
+
[[cpp/numeric/math | Common mathematical functions]]<br>
+
[[cpp/numeric/complex | Complex numbers]]<br>
+
[[cpp/numeric/random | Pseudo-random number generation]]
+
</div>
+
 
+
|
+
 
+
'''[[cpp/io | Input/output library]]'''
+
 
+
<div class="mainpagediv">
+
{{ltt|cpp/io/basic_streambuf}}<br>
+
{{ltt|cpp/io/basic_filebuf}}<br>
+
{{ltt|cpp/io/basic_stringbuf}}<br>
+
{{ltt|cpp/io/ios_base}}<br>
+
{{ltt|cpp/io/basic_ios}}<br>
+
{{ltt|cpp/io/basic_istream}}<br>
+
{{ltt|cpp/io/basic_ostream}}<br>
+
{{ltt|cpp/io/basic_iostream}}<br>
+
{{ltt|cpp/io/basic_ifstream}}<br>
+
{{ltt|cpp/io/basic_ofstream}}<br>
+
{{ltt|cpp/io/basic_fstream}}<br>
+
{{ltt|cpp/io/basic_istringstream}}<br>
+
{{ltt|cpp/io/basic_ostringstream}}<br>
+
{{ltt|cpp/io/basic_stringstream}}<br>
+
[[cpp/io/manip | I/O manipulators]]<br>
+
[[cpp/io/c | C-style I/O ]]
+
</div>
+
 
+
'''[[cpp/locale | Localizations library]]'''
+
 
+
'''[[cpp/regex | Regular expression library]]''' {{mark c++11}}
+
 
+
'''[[cpp/atomic | Atomic operations library]]''' {{mark c++11}}
+
 
+
'''[[cpp/thread | Thread support library]]''' {{mark c++11}}
+
 
+
|-
+
 
| <span style="margin:12px;"></span>
 
| <span style="margin:12px;"></span>
|- class="row1"
+
|- class="row rowtop"
 
| colspan=3 |
 
| colspan=3 |
[[c|<span style="font-size: 2em;">C reference</span><br/>
+
[[c|<span style="font-size: 2em;">C reference</span>]]<br/>
<span style="font-size: 0.8em;">C89, C99, C11</span>
+
{{main page c contents}}
]]
+
|-
|- class="row2"
+
|}
|
+
'''[[c/language | Language]]'''
+
<div class="mainpagediv">
+
[[cpp/preprocessor | Preprocessor]]<br>
+
[[c/keyword | Keywords]]<br>
+
[[c/language/operator_precedence | Operator precedence]]<br>
+
[[cpp/language/escape | Escape sequences]]<br>
+
[[c/language/ascii | ASCII chart]]
+
</div>
+
  
'''[[c/header | Headers]]'''
+
{| class="mainpagetable" cellspacing=0 style="padding: 2em 2em; width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;"
 
+
|- class="row rowtop"
'''[[c/types | Type support]]'''
+
| <span style="font-size: 1.5em;">News</span>
 
+
|- class="row rowbottom"
|
+
| {{news}}
 
+
'''[[c/memory | Dynamic memory management]]'''
+
 
+
'''[[c/error | Error handling]]'''
+
 
+
'''[[c/program | Program utilities]]'''
+
 
+
'''[[c/chrono | Date and time utilities]]'''
+
 
+
'''[[c/string | Strings library]]'''
+
<div class="mainpagediv">
+
[[c/string/byte | NULL-terminated byte strings]]<br>
+
[[c/string/multibyte | NULL-terminated multibyte strings]]<br>
+
[[c/string/wide | NULL-terminated wide strings]]
+
</div>
+
 
+
'''[[c/algorithm | Algorithms]]'''
+
 
+
|
+
 
+
'''[[c/numeric | Numerics]]'''
+
<div class="mainpagediv">
+
[[c/numeric/math | Mathematical functions]]<br>
+
[[c/numeric/fenv | Floating-point environment]]{{mark c99}}<br>
+
[[c/numeric/random | Random number generation]]<br>
+
[[c/numeric/tgmath | Type-generic math]]{{mark c99}}
+
</div>
+
 
+
'''[[c/io | Input/output support]]'''
+
 
+
'''[[c/locale | Localization support]]'''
+
 
+
'''[[c/atomic | Atomic operations library]]{{mark c11}}'''
+
 
+
'''[[c/thread | Thread support library]]{{mark c11}}'''
+
 
|}
 
|}
  
 
+
{{langlinks|ar|cs|de|es|fr|it|ja|ko|pl|pt|ru|tr|zh}}
[[ar:]]
+
[[cs:]]
+
[[de:]]
+
[[es:]]
+
[[fr:]]
+
[[it:]]
+
[[ja:]]
+
[[pl:]]
+
[[pt:]]
+
[[ru:]]
+
[[tr:]]
+
[[zh:]]
+

Latest revision as of 22:40, 12 March 2024

C++ reference
C++11, C++14, C++17, C++20, C++23, C++26  │  Compiler support C++11, C++14, C++17, C++20, C++23, C++26

Language

Standard library (headers)

Named requirements

Feature test macros (C++20)

Language support library

Concepts library (C++20)

Diagnostics library

Memory management library

Metaprogramming library (C++11)

General utilities library

Function objects − hash (C++11)
Swap − Type operations (C++11)
Integer comparison (C++20)
pair − tuple (C++11)
optional (C++17)
expected (C++23)
variant (C++17) − any (C++17)
bitset − Bit manipulation (C++20)

Containers library

vector − deque − array (C++11)
list − forward_list (C++11)
map − multimap − set − multiset
unordered_map (C++11)
unordered_multimap (C++11)
unordered_set (C++11)
unordered_multiset (C++11)
Container adaptors
span (C++20) − mdspan (C++23)

Iterators library

Ranges library (C++20)

Algorithms library

Strings library

Text processing library

Numerics library

Date and time library

Calendar (C++20) − Time zone (C++20)

Input/output library

Concurrency support library (C++11)

thread − jthread (C++20)
atomic − atomic_flag
atomic_ref (C++20) −  memory_order
Mutual exclusion − Semaphores (C++20)
Condition variables − Futures
latch (C++20) − barrier (C++20)
Safe Reclamation (C++26)

Execution support library (C++26)

Technical specifications

    Standard library extensions  (library fundamentals TS)

    Standard library extensions v2  (library fundamentals TS v2)

    Standard library extensions v3  (library fundamentals TS v3)


Parallelism library extensions v2
(parallelism TS v2)

Concurrency library extensions
(concurrency TS)
Transactional Memory  (TM TS)
Reflection  (reflection TS)

External Links  −  Non-ANSI/ISO Libraries  −  Index  −  std Symbol Index

C reference
C89, C95, C99, C11, C17, C23  │  Compiler support C99, C23

Language

Headers

Type support

Program utilities

Variadic functions

Diagnostics library

Dynamic memory management

Strings library

Null-terminated strings:
   byte  −   multibyte  −   wide

Algorithms library

Numerics library

Date and time library

Localization library

Input/output library

Concurrency support library (C11)

Technical specifications

   Dynamic memory extensions  (dynamic memory TR)
   Floating-point extensions, Part 1  (FP Ext 1 TS)
   Floating-point extensions, Part 4  (FP Ext 4 TS)

External Links  −  Non-ANSI/ISO Libraries  −  Index  −  Symbol Index
News