Skip to content

Latest commit

 

History

History
78 lines (58 loc) · 2.63 KB

File metadata and controls

78 lines (58 loc) · 2.63 KB
title Expressions (C++) | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-language
ms.tgt_pltfrm
ms.topic index-page
dev_langs
C++
helpviewer_keywords
expressions [C++]
ms.assetid aaa1f250-7185-4113-b682-3f5e995943d1
caps.latest.revision 7
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Expressions (C++)

This section describes C++ expressions. Expressions are sequences of operators and operands that are used for one or more of these purposes:

  • Computing a value from the operands.

  • Designating objects or functions.

  • Generating "side effects." (Side effects are any actions other than the evaluation of the expression — for example, modifying the value of an object.)

In C++, operators can be overloaded and their meanings can be user-defined. However, their precedence and the number of operands they take cannot be modified. This section describes the syntax and semantics of operators as they are supplied with the language, not overloaded. In addition to types of expressions and semantics of expressions, the following topics are covered:

Topics on operators in other sections:

See Also

C++ Language Reference