#####  [ cppreference.com ](/)

[ Log in ](/mwiki/index.php?title=Special:UserLogin&returnto=cpp "You are
encouraged to log in; however, it is not mandatory \[o\]")

#####  Namespaces

  * [ Page ](/w/cpp "View the content page \[c\]")
  * [ Discussion ](/w/Talk:cpp "Discussion about the content page \[t\]")

#####  Variants

#####  Views

  * [ View ](/w/cpp)
  * [ View source ](/mwiki/index.php?title=cpp&action=edit "This page is protected.
You can view its source \[e\]")

  * [ History ](/mwiki/index.php?title=cpp&action=history "Past revisions of this page \[h\]")

#####  Actions

#  C++ reference

From cppreference.com

**C++**

[ Compiler support ](/w/cpp/compiler_support "cpp/compiler support")  
---  
[ Freestanding and hosted ](/w/cpp/freestanding "cpp/freestanding")  
[ Language ](/w/cpp/language "cpp/language")  
[ Standard library ](/w/cpp/standard_library "cpp/standard library")  
[ Standard library headers ](/w/cpp/header "cpp/header")  
[ Named requirements ](/w/cpp/named_req "cpp/named req")  
[ Feature test macros ](/w/cpp/feature_test "cpp/feature test") (C++20)  
[ Language support library ](/w/cpp/utility#Language_support "cpp/utility")  
[ Concepts library ](/w/cpp/concepts "cpp/concepts") (C++20)  
[ Metaprogramming library ](/w/cpp/meta "cpp/meta") (C++11)  
[ Diagnostics library ](/w/cpp/error "cpp/error")  
[ General utilities library ](/w/cpp/utility "cpp/utility")  
[ Strings library ](/w/cpp/string "cpp/string")  
[ Containers library ](/w/cpp/container "cpp/container")  
[ Iterators library ](/w/cpp/iterator "cpp/iterator")  
[ Ranges library ](/w/cpp/ranges "cpp/ranges") (C++20)  
[ Algorithms library ](/w/cpp/algorithm "cpp/algorithm")  
[ Numerics library ](/w/cpp/numeric "cpp/numeric")  
[ Localizations library ](/w/cpp/locale "cpp/locale")  
[ Input/output library ](/w/cpp/io "cpp/io")  
[ Filesystem library ](/w/cpp/filesystem "cpp/filesystem") (C++17)  
[ Regular expressions library ](/w/cpp/regex "cpp/regex") (C++11)  
[ Concurrency support library ](/w/cpp/thread "cpp/thread") (C++11)  
[ Technical specifications ](/w/cpp/experimental "cpp/experimental")  
[ Symbols index ](/w/cpp/symbol_index "cpp/symbol index")  
[ External libraries ](/w/cpp/links/libs "cpp/links/libs")  
  
[ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/navbar_content&action=edit)

[ C++11 ](/w/cpp/11 "cpp/11") , [ C++14 ](/w/cpp/14 "cpp/14") , [ C++17
](/w/cpp/17 "cpp/17") , [ C++20 ](/w/cpp/20 "cpp/20") , [ C++23 ](/w/cpp/23
"cpp/23") , [ C++26 ](/w/cpp/26 "cpp/26") │ [ Compiler support
](/w/cpp/compiler_support "cpp/compiler support") [ C++11
](/w/cpp/compiler_support/11 "cpp/compiler support/11") , [ C++14
](/w/cpp/compiler_support/14 "cpp/compiler support/14") , [ C++17
](/w/cpp/compiler_support/17 "cpp/compiler support/17") , [ C++20
](/w/cpp/compiler_support/20 "cpp/compiler support/20") , [ C++23
](/w/cpp/compiler_support/23 "cpp/compiler support/23") , [ C++26
](/w/cpp/compiler_support/26 "cpp/compiler support/26")  
  
---  
**[ Language ](/w/cpp/language "cpp/language") ** [ Keywords ](/w/cpp/keyword
"cpp/keyword") − [ Preprocessor ](/w/cpp/preprocessor "cpp/preprocessor")  
[ ASCII chart ](/w/cpp/language/ascii "cpp/language/ascii")  
[ Basic concepts ](/w/cpp/language/basic_concepts "cpp/language/basic
concepts")  
[ Comments ](/w/cpp/comment "cpp/comment")  
[ Names ](/w/cpp/language/identifiers "cpp/language/identifiers") ( [ lookup
](/w/cpp/language/lookup "cpp/language/lookup") )  
[ Types ](/w/cpp/language/type "cpp/language/type") ( [ fundamental types
](/w/cpp/language/types "cpp/language/types") )  
[ The ` main ` function ](/w/cpp/language/main_function "cpp/language/main
function")  
[ Expressions ](/w/cpp/language/expressions "cpp/language/expressions")  
[ Value categories ](/w/cpp/language/value_category "cpp/language/value
category")  
[ Evaluation order ](/w/cpp/language/eval_order "cpp/language/eval order")  
[ Operators ](/w/cpp/language/expressions#Operators
"cp