Value categories - 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

Evaluation order and sequence points

Constant expressions

Implicit conversions

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

c/language/bit field

c/language/storage duration

c/language/volatile

Each expression in C (an operator with its arguments, a function call, a constant, a variable name, etc) is characterized by two independent properties: a type and a value category.

c/language/restrict

Each expression in C (an operator with its arguments, a function call, a constant, a variable name, etc) is characterized by two independent properties: a type and a value category.

temporary lifetime

Note that a struct/union rvalue that has a member (possibly nested) of array type does in fact designate an object with temporary lifetime. This object can be accessed through lvalue expressions that form by indexing the

function declaration

Each expression in C (an operator with its arguments, a function call, a constant, a variable name, etc) is characterized by two independent properties: a type and a value category.

cpp/language/value category

Special:Categories

Pages using deprecated source tags

Pages using deprecated enclose attributes