C++ Specifics Index
Go Up to C++ Language Guide Index
This section describes features that distinguish RAD Studio C++, such as descriptions of the C++11 features supported in C++Builder, and recommendations on working with UnicodeString in C++.
C++ is an object-oriented programming language based on C. Generally speaking, you can compile C programs under C++, but you cannot compile a C++ program under C if the program uses any constructs specific to C++. Some situations require special care. For example, the same function declared as func
twice in C with different argument types causes a duplicated name error. Under C++, however, func
will be interpreted as an overloaded function; whether or not this is legal depends on other circumstances.
Although C++ introduces new keywords and operators to handle classes, some of the capabilities of C++ have applications outside of any class context. This topic discusses the aspects of C++ that can be used independently of classes, and then describes the specifics of classes and class mechanisms.
See Exception Handling in C++Builder for details on compiling C and C++ programs with exception handling.
Topics
- C++11 Features in the Classic Compiler
- Modern C++
- Modern C++ Features Supported by RAD Studio Clang-enhanced C++ Compilers
- Unicode for C++
- __property Implements Support for C++Builder
- Run-Time Type Identification (RTTI)
- Classes
- Polymorphic Classes
- New-style Typecasting
- lvalue references
- C++ Scope
- Constructors And Destructors
- Handling Delphi Features in C++Builder
- Scope Resolution Operator
- Using Templates (C++)
- The new And delete Operators
- C++ namespaces
- GNU Attributes
- Overloading Operators and Operator Functions
- C++ Applications Use STRICT Type Checking
- Use fastcall When Overriding Library Methods (C++)
- Language Support for the RAD Studio Libraries (C++)
- Implementing Interfaces: Delphi and C++
- Function Templates Overview Index
- Class Templates Overview Index
- Compiler Template Switches Index
- Exporting And Importing Templates
- Template Body Parsing