en.cppreference.com Open in urlscan Pro
2604:4f00::3:0:1238:1  Public Scan

Submitted URL: http://en.cppreference.com/
Effective URL: https://en.cppreference.com/w/
Submission: On May 14 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

GET https://duckduckgo.com/

<form action="https://duckduckgo.com/" method="get">
  <input type="hidden" name="sites" value="cppreference.com">
  <input type="search" name="q">
  <input type="submit" value="Search">
</form>

Text Content

CPPREFERENCE.COM


Create account
 * Log in

NAMESPACES

 * Page
 * Discussion

VARIANTS


Standard revision: DiffC++98/03C++11C++14C++17C++20C++23C++26

VIEWS

 * View
 * View source
 * History

ACTIONS


Cut cloud MongoDB costs with K8s & open source. No loss in security or
performance. Learn how. ads via Carbon


C AND C++ REFERENCE

From cppreference.com


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

Keywords − Preprocessor
ASCII chart
Basic concepts
    Comments
    Names (lookup)
    Types (fundamental types)
    The main function
Expressions
    Value categories
    Evaluation order
    Operators (precedence)
    Conversions − Literals
Statements
    if − switch
    for − range-for (C++11)
    while − do-while
Declarations − Initialization
Functions − Overloading
Classes (unions)
Templates − Exceptions
Freestanding implementations

Standard library (headers)

Named requirements

Feature test macros (C++20)

Language support library

Program utilities
source_location (C++20)
Coroutine support (C++20)
Three-way comparison (C++20)
Type support
numeric_limits − type_info
initializer_list (C++11)


Concepts library (C++20)

Diagnostics library

exception − System error
basic_stacktrace (C++23)

Memory management library

unique_ptr (C++11)
shared_ptr (C++11)
weak_ptr (C++11)
Memory resources (C++17)
Allocators − Low level management

Metaprogramming library (C++11)

Type traits − ratio
integer_sequence (C++14)

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)
String conversions (C++17)
Formatting (C++20)
bitset − Bit manipulation (C++20)
Debugging support (C++26)

Strings library

basic_string − char_traits
basic_string_view (C++17)
Null-terminated strings:
    byte − multibyte − wide

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

Execution policies (C++17)
Constrained algorithms (C++20)

Numerics library

Common math functions
Mathematical special functions (C++17)
Mathematical constants (C++20)
Basic linear algebra algorithms (C++26)
Numeric algorithms
Pseudo-random number generation
Floating-point environment (C++11)
complex − valarray

Date and time library

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

Localization library

locale − Character classification
text_encoding (C++26)

Input/output library

Print functions (C++23)
Stream-based I/O − I/O manipulators
basic_istream − basic_ostream
Synchronized output (C++20)
File systems (C++17)

Regular expressions library (C++11)

basic_regex − Algorithms
Default regular expression grammar

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)

Technical specifications


  Standard library extensions  (library fundamentals TS)

resource_adaptor − invocation_type

  Standard library extensions v2  (library fundamentals TS v2)

propagate_const − ostream_joiner −  randint
observer_ptr − Detection idiom

  Standard library extensions v3  (library fundamentals TS v3)

scope_exit − scope_fail − scope_success − unique_resource

  Parallelism library extensions v2  (parallelism TS v2)

simd

  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

Basic concepts
Keywords
Preprocessor
Expressions
Declaration
Initialization
Functions
Statements


Headers

Type support

Program utilities

Variadic functions

Diagnostics library

Dynamic memory management

Strings library

Null-terminated strings:
   byte  −   multibyte  −   wide

Algorithms library

Numerics library

Common mathematical functions
Floating-point environment (C99)
Pseudo-random number generation
Complex number arithmetic (C99)
Type-generic math (C99)

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
 * 7 June 2019: New version of the offline archive

 * 28 October 2018: New version of the offline archive

 * 11 March 2018: New version of the offline archive

Retrieved from
"https://en.cppreference.com/mwiki/index.php?title=Main_Page&oldid=170150"



NAVIGATION

 * Support us
 * Recent changes
 * FAQ
 * Offline version

TOOLBOX

 * What links here
 * Related changes
 * Upload file
 * Special pages
 * Printable version
 * Permanent link
 * Page information

 * In other languages

 * العربية
 * Česky
 * Deutsch
 * Español
 * Français
 * Italiano
 * 日本語
 * 한국어
 * Polski
 * Português
 * Русский
 * Türkçe
 * 中文

 * This page was last modified on 12 March 2024, at 23:40.
 * This page has been accessed 50,153,979 times.

 * Privacy policy
 * About cppreference.com
 * Disclaimers

 *