RAD Studio
ContentsIndex
PreviousUpNext
Keywords, Alphabetical Listing

This section contains Keywords, Alphabetical Listing topics.

Name 
Description 
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Operators
Description
The sizeof operator has two distinct uses:
sizeof unary-expression
sizeof (type-name)
The result in both cases is an integer constant that gives the size in bytes of how much memory space is used by the operand (determined by its type, with some exceptions). The amount of space that is reserved for each type depends on the machine.
In the first use, the type of the operand expression is determined without evaluating the expression (and therefore without side effects). When the operand is of type char (signed or unsigned), sizeof gives the result 1. When the... more 
Category
Keyword extensions
Syntax  
Category
Operators, Keyword extensions
Syntax  
Category
Keyword extensions
Syntax  
Category
Modifiers, Keyword extensions, Storage class specifiers
Syntax  
Category
Modifiers
Syntax  
Category
Statements, Keyword extensions
Syntax  
Category
Keyword extensions
Syntax  
Category
Keyword extensions
Description
You can specify the size for integer types. You must use the appropriate suffix when using extended integers.  
Category
Modifiers, Keyword extensions
Syntax  
Category
Modifiers, Keyword extensions
Syntax  
Category
Keyword extensions
Syntax  
Category
Keyword extensions
Syntax  
Category (__rtti keyword)
Modifiers, C++ Keyword Extensions, C++-Specific Keywords
Description
Runtime type identification is enabled by default. You can disable RTTI on the C++ page of the Project Options dialog box. From the command-line, you can use the -RT- option to disable it or -RT to enable it.
If RTTI is disabled, or if the argument to typeid is a pointer or a reference to a non-polymorphic class, typeid returns a reference to a const type_info object that describes the declared type of the pointer or reference, and not the actual object that the pointer or reference is bound to.... more 
Category
Keyword extensions
Description
The keyword __thread is used in multithread programs to preserve a unique copy of global and static class variables. Each program thread maintains a private copy of a __thread variable for each thread.
The syntax is Type __thread variable__name. For example  
Category
Statements, Keyword extensions
Syntax  
Category
Modifiers, Keyword extensions
Form 1  
Category
Modifiers, Keyword extensions
Syntax  
Category
Modifiers, Keyword extensions
Syntax  
Category
Keyword extensions, C++-Specific Keywords
Syntax  
auto 
Category
Storage class specifiers
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
Statements
Syntax
Description
Use the break statement within loops to pass control to the first statement following the innermost switch, for, while, or do block.
Example
This example illustrates the use of keywords break, case, default, and switch.  
case 
Category
Statements
Syntax  
Category
Statements, C++-Specific Keywords
Syntax  
Category
Modifiers, Keyword extensions
Syntax  
char 
Category
Type specifiers
Syntax  
Category
C++-Specific Keywords, Type specifiers
Syntax  
Category
Modifiers
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
Statements
Syntax  
Category
Statements
Syntax  
Category
Operators, C++-Specific Keywords
Syntax  
do 
Category
Statements
Syntax  
Category
Type specifiers
Syntax  
Category
C++-Specific Keywords
Description
In the expression, dynamic_cast< T > (ptr), T must be a pointer or a reference to a defined class type or void*. The argument ptr must be an expression that resolves to a pointer or reference.
If T is void* then ptr must also be a pointer. In this case, the resulting pointer can access any element of the class that is the most derived element in the hierarchy. Such a class cannot be a base for any other class.
Conversions from a derived class to a base class, or from one derived class to... more 
enum 
Category
Type specifiers
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
Unimplemented
Syntax  
Category
Storage class specifiers
Syntax  
Category
Statements, Keyword extensions
Syntax  
Category
Type specifiers
Syntax  
for 
Category
Statements
Syntax  
Category
C++-Specific Keywords
Syntax  
goto 
Category
Statements
Syntax  
Category
Operators
Syntax  
Category
Modifiers, Keyword extensions
Form 1  
Category
C++-Specific Keywords
Syntax  
int 
Category
Type specifiers
Syntax  
long 
Category
Type specifiers
Syntax  
Category
C++-Specific Keywords, Storage class specifiers
Syntax  
Category
C++-Specific Keywords
Description
Most real-world applications consist of more than one source file. The files can be authored and maintained by more than one developer. Eventually, the separate files are organized and linked to produce the final application. Traditionally, the file organization requires that all names that aren't encapsulated within a defined namespace (such as function or class body, or translation unit) must share the same global namespace. Therefore, multiple definitions of names discovered while linking separate modules require some way to distinguish each name. The solution to the problem of name clashes in the global scope is provided... more 
new 
Category
Operators, C++-Specific Keywords
Syntax  
Category
Operators, C++-Specific Keywords
Syntax  
Category
Modifiers, Keyword extensions
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
Storage class specifiers
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
Statements
Syntax  
Category
Type specifiers
Syntax  
Category
Type specifiers
Syntax  
Category
Storage class specifiers
Syntax  
Category
C++-Specific Keywords
Syntax  
Category
Type specifiers
Syntax  
Category
Statements
Syntax  
Category
C++-Specific Keywords
Syntax  
this 
Category
C++-Specific Keywords
Example  
Category
Statements, C++-Specific Keywords
Syntax  
try 
Category
Statements, C++-Specific Keywords
Syntax  
Category
Storage class specifiers
Syntax  
Category
Operators, C++-Specific Keywords
Syntax  
Category
C++-Specific Keywords
Syntax 1  
Category
Type specifiers
Syntax  
Category
Type specifiers
Syntax  
Category
C++-Specific Keywords
Description
You can access namespace members individually with the using-declaration syntax. When you make a using declaration, you add the declared identifier to the local namespace. The grammar is
using-declaration:
using :: unqualified-identifier; 
Category
C++-Specific Keywords
Syntax  
void 
Category
Special types
Syntax  
Category
Modifiers
Syntax  
Category
C++-Specific Keywords, Type specifiers
Syntax  
Category
Statements
Syntax  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!