MetaDirectory
» Start » Languages » C++ » Type System
- Casting in C++
In-depth information on the four new casting operators available in C++. Written for those who know C++ but are using the old C-style casts. - The const Qualifier
Explains the use of the const qualifier on small code snippets. (by Carlo Wood) - Director of Casting
Presents a set of guidelines for using the new C++-style cast operators. [PDF] - Pointers to C++ Member Functions
Discusses what member function pointers are, shows how to declare and use them, and gives some examples of problems that they solve very well. - Type Traits Proposal
A proposal to add Type Traits to the C++ Standard Library. - A Brief Introduction to Rvalue References
Rvalue references allow programmers to avoid logically unnecessary copying and to provide perfect forwarding functions. They are primarily meant to aid in the design of higher performance and more robust libraries. (March 10, 2008) - On the Tension Between Object-Oriented and Generic Programming in C++
Discusses how the use of generic programming in C++ can lead to conflicts with object-oriented design principles. Also demonstrates how a technique known as type erasure can often be used to resolve theseconflicts. An in-depth example is presented: any_iterator, a type-safe,heterogeneous C++ iterator. (October 15, 2007) - Ada-style Ranged Types in C++
Ranged types, common in Ada, allow the programmer to constrain a numerical type to a certain range. This article presents a library that brings these types to C++. (July 13, 2007) - Simulating Polymorphic Operators in C++
Presents three different techniques for making operators polymorphic. (July 2, 2007) - Overloading and Overloading
Operator overloading may be syntactic sugar, but there are a lot of things that don't taste very good without sugar. (March 1, 2006) - Associative Chains in C++
Phillip Bruce gets around some of the limitations of the pointer-to-member with a model of class associations that he calls "Associative Chains." target="_blank" (January 9, 2006) - Built-in Type Safety?
C++ is a statically typed language but its type system is not bulletproof. This article reveals some all-too-common type glitches and how to fix them. (Thomas Guest) (June 25, 2005) - Never Call Virtual Functions During Construction or Destruction
Explains why you should never call virtual functions during construction and destruction of your objects. (Scott Meyers) (June 6, 2005) - Passing By Reference-to-const
Explains why the rules for initializing references make passing by reference-to-const an efficient and attractive alternative to passing by value. (October, 2001) - Reference Initializations
Explains how the rules for initializing references differ from the rules for initializing pointers. (September, 2001)
|
Link Tip
Google Dance Tool
Royalty Free Stock Photos
Partner Sites
PHP Scripts
Online Appointment Scheduling

