Implicit conversions - cppreference.com

en.cppreference.com

Tin mới

You are encouraged to create an account and log in; however, it is not mandatory

You are encouraged to log in; however, it is not mandatory [o]

Discussion about the content page [t]

This page is protected. You can view its source [e]

Past revisions of this page [h]

c/compiler support

Variadic function support

Dynamic memory management

Date and time utilities

Input/output support

Localization support

Concurrency support

Technical Specifications

c/language/basic concepts

c/language/statements

c/language/expressions

c/language/initialization

c/language/declarations

c/language/functions

c/language/history

c/language/value category

Evaluation order and sequence points

Constant expressions

c/language/generic

c/language/integer constant

c/language/floating constant

Character constant

c/language/bool constant

c/language/nullptr

c/language/string literal

c/language/compound literal

Operator precedence

Member access and indirection

c/language/operator logical

Comparison operators

Arithmetic operators

Assignment operators

Increment and decrement

Function call, comma, conditional operator

c/language/ Alignof

scalar initialization

function without a prototype

When an expression is used in the context where a value of a different type is expected, conversion may occur:

c/language/variadic

When an expression is used in the context where a value of a different type is expected, conversion may occur:

c/language/volatile

When an expression is used in the context where a value of a different type is expected, conversion may occur:

c/language/restrict

When an expression is used in the context where a value of a different type is expected, conversion may occur:

c/language/typeof unqual

array initialization

c/language/storage duration

When an expression is used in the context where a value of a different type is expected, conversion may occur:

temporary lifetime

c/language/bit field

When an expression is used in the context where a value of a different type is expected, conversion may occur: