RAD Studio
ContentsIndex
PreviousUpNext
Primary Expression Operators

This section contains Primary Expression Operator topics.

Name 
Description 
For ANSI C, the primary expressions are literal (also sometimes referred to as constant), identifier, and ( expression ). The C++ language extends this list of primary expressions to include the keyword this, scope resolution operator ::, name, and the class destructor ~ (tilde).
The primary expressions are summarized in the following list.
primary-expression:
  1. literal this (C++ specific)
  2. :: identifier (C++ specific)
  3. :: operator-function-name (C++ specific)
  4. :: qualified-name (C++ specific)
  5. ( expression) name
literal:
  1. integer-constantcharacter-constant
  2. floating-constant
  3. string-literal
name:
  1. identifieroperator-function-name (C++ specific)
  2. conversion-function-name (C++ specific)
  3. ~ class-name (C++ specific)
  4. qualified-name (C++ specific)
qualified-name: (C++ specific)
qualified-class-name :: name
For... more 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!