Namespaces
Variants
Actions

Difference between revisions of "Main Page"

From cppreference.com
(+filesystem link to top table (keeping the TS one until it's fully migrated))
(Adjusted the layout to remove the blank section at the top when the CppCon banner is absent.)
 
(33 intermediate revisions by 10 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="row rowtop"
 
|- 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, C++14, C++17</span>
+
{{main page cpp contents}}
]]
+
|- class="row"
+
|
+
<div class="mainpagediv">
+
[[cpp/language/ascii | ASCII chart]]<br/>
+
[[cpp/compiler_support | Compiler support]]
+
</div>
+
'''[[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/types | Fundamental types]]
+
</div>
+
 
+
'''[[cpp/header | Headers]]'''
+
 
+
'''[[cpp/concept | Library 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/utility/functional | Function objects]]<br/>
+
{{ltt|cpp/utility/pair}}&nbsp;&nbsp;−&nbsp;&nbsp;
+
{{ltt|cpp/utility/tuple}} {{mark c++11}}<br/>
+
{{ltt|cpp/utility/integer_sequence}} {{mark c++14}}<br/>
+
{{ltt|cpp/utility/optional}} {{mark c++17}}&nbsp;&nbsp;−&nbsp;&nbsp;{{ltt|cpp/utility/any}} {{mark c++17}}
+
</div>
+
 
+
|
+
 
+
'''[[cpp/string | Strings library]]'''
+
<div class="mainpagediv">
+
{{ltt|cpp/string/basic_string}}<br>
+
{{ltt|cpp/string/basic_string_view}} {{mark c++17}}<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}}<br>
+
{{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/special_math | Special mathematical functions]] {{mark c++17}}<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 expressions library]]''' {{mark c++11}}
+
 
+
'''[[cpp/atomic | Atomic operations library]]''' {{mark c++11}}
+
 
+
'''[[cpp/thread | Thread support library]]''' {{mark c++11}}
+
 
+
'''[[cpp/filesystem | Filesystem library]]''' {{mark c++17}}
+
 
+
|- class="row"
+
| colspan=3 |'''[[cpp/experimental | Technical specifications]]'''<br>
+
&nbsp;&nbsp;'''[[cpp/experimental/lib_extensions | Standard library extensions]]'''&nbsp;&nbsp;{{mark since libfund_ts}}<br>
+
&nbsp;&nbsp;'''[[cpp/experimental/lib_extensions_2 | Standard library extensions v2]]'''&nbsp;&nbsp;{{mark since libfund_ts_2}}
+
<div class="mainpagediv">
+
{{ltt|cpp/experimental/propagate_const}} &mdash; {{ltt|cpp/experimental/not_fn}} &mdash;
+
{{ltt|cpp/experimental/observer_ptr}}<br> {{ltt|cpp/experimental/source_location}} &mdash; {{ltt|cpp/experimental/ostream_joiner}}<br>
+
[[cpp/experimental/is_detected |detection idiom]] &mdash; [[cpp/experimental/lib_extensions_2#Uniform container erasure |uniform container erasure]]
+
</div>
+
&nbsp;&nbsp;'''[[cpp/experimental/fs | Filesystem library]]'''&nbsp;&nbsp;{{mark since fs_ts}}<br>
+
&nbsp;&nbsp;'''[[cpp/experimental/parallelism | Parallelism library extensions]]'''&nbsp;&nbsp;{{mark since parallelism_ts}}<br>
+
&nbsp;&nbsp;'''[[cpp/experimental/concurrency | Concurrency library extensions]]'''&nbsp;&nbsp;{{mark since concurrency ts}}<br>
+
&nbsp;&nbsp;'''[[cpp/language/constraints | Concepts]]'''&nbsp;&nbsp;{{mark since concepts_ts}}
+
|- class="row"
+
| colspan=3 | [[cpp/links|External Links]]&nbsp;&nbsp;−&nbsp;&nbsp;[[cpp/links/libs|Non-ANSI/ISO Libraries]]&nbsp;&nbsp;−&nbsp;&nbsp;[[cpp/index|Index]]
+
 
|-
 
|-
 
| <span style="margin:12px;"></span>
 
| <span style="margin:12px;"></span>
 
|- class="row rowtop"
 
|- 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, C95, C99, C11</span>
+
{{main page c contents}}
]]
+
|- class="row"
+
|
+
<div class="mainpagediv">
+
[[c/language/ascii | ASCII chart]]
+
</div>
+
'''[[c/language | Language]]'''
+
<div class="mainpagediv">
+
[[c/preprocessor | Preprocessor]]<br>
+
[[c/keyword | Keywords]]<br>
+
[[c/language/operator_precedence | Operator precedence]]<br>
+
[[c/language/escape | Escape sequences]]
+
</div>
+
 
+
'''[[c/header | Headers]]'''
+
 
+
'''[[c/types | Type support]]'''
+
 
+
|
+
 
+
'''[[c/memory | Dynamic memory management]]'''
+
 
+
'''[[c/error | Error handling]]'''
+
 
+
'''[[c/program | Program utilities]]'''
+
 
+
'''[[c/variadic | Variadic functions]]'''
+
 
+
'''[[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 | Common mathematical functions]]<br>
+
[[c/numeric/fenv | Floating-point environment]] {{mark c99}}<br>
+
[[c/numeric/random | Pseudo-random number generation]]<br>
+
[[c/numeric/complex | Complex number arithmetic]] {{mark c99}}<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}}
+
|- class="row"
+
| colspan=3 |'''[[c/experimental | Technical specifications]]'''
+
<!--&nbsp;&nbsp;'''[[c/experimental/embedded | Extensions for embedded processors]]'''&nbsp;&nbsp;{{mark since embedded_ts}}<br>-->
+
&nbsp;&nbsp;'''[[c/experimental/dynamic | Dynamic memory extensions]]'''&nbsp;&nbsp;{{mark since dynamic_ts}}<br>
+
<!--&nbsp;&nbsp;'''[[c/experimental/fp | Floating-point extensions]]'''&nbsp;&nbsp;{{mark since fp_ts}}<br>
+
&nbsp;&nbsp;'''[[c/experimental/parallelism | Parallelism library]]'''&nbsp;&nbsp;{{mark since cplex_ts}}-->
+
|- class="row rowbottom"
+
| colspan=3 | [[c/links|External Links]]&nbsp;&nbsp;−&nbsp;&nbsp;[[c/links/libs|Non-ANSI/ISO Libraries]]
+
 
|-
 
|-
 
|}
 
|}
Line 211: Line 25:
 
|}
 
|}
  
[[ar:]]
+
{{langlinks|ar|cs|de|es|fr|it|ja|ko|pl|pt|ru|tr|zh}}
[[cs:]]
+
[[de:]]
+
[[es:]]
+
[[fr:]]
+
[[it:]]
+
[[ja:]]
+
[[ko:]]
+
[[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