Type System (15)

Regular Links:

http://www.ddj.com/dept/cpp/201001318
Ada-style Ranged Types in C++ Open in a new browser window
   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++.
   http://www.ddj.com/dept/cpp/201001318
http://www.ddj.com/dept/cpp/184402067
Associative Chains in C++ Open in a new browser window
   Phillip Bruce gets around some of the limitations of the pointer-to-member with a model of class associations that he calls "Associative Chains."
   http://www.ddj.com/dept/cpp/184402067
http://www.artima.com/cppsource/typesafety.html
Built-in Type Safety? Open in a new browser window
   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)
   http://www.artima.com/cppsource/typesafety.html
http://msdn.microsoft.com/archive/en-us/dnarvc/html/jangrayhood.asp?frame=true
C++: Under the Hood Open in a new browser window
   Explains run-time C++ implementation details such as class layout techniques and the virtual function call mechanism.
   http://msdn.microsoft.com/archive/en-us/dnarvc/html/jangrayhood.asp?frame=true
http://www.acm.org/crossroads/xrds3-1/ovp3-1.html
Casting in C++ Open in a new browser window
   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.
   http://www.acm.org/crossroads/xrds3-1/ovp3-1.html
http://www.kbcafe.com/articles/Director.of.Casting.pdf
Director of Casting Open in a new browser window
   Presents a set of guidelines for using the new C++-style cast operators.
   http://www.kbcafe.com/articles/Director.of.Casting.pdf
http://www.artima.com/cppsource/nevercall.html
Never Call Virtual Functions During Construction or Destruction Open in a new browser window
   Explains why you should never call virtual functions during construction and destruction of your objects. (Scott Meyers)
   http://www.artima.com/cppsource/nevercall.html
http://www.artima.com/cppsource/type_erasure.html
On the Tension Between Object-Oriented and Generic Programming in C++ Open in a new browser window
   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_it
   http://www.artima.com/cppsource/type_erasure.html
http://www.ddj.com/dept/cpp/184406484
Overloading and Overloading Open in a new browser window
   Operator overloading may be syntactic sugar, but there are a lot of things that don't taste very good without sugar.
   http://www.ddj.com/dept/cpp/184406484
http://www.embedded.com/story/OEG20010919S0041
Passing By Reference-to-const Open in a new browser window
   Explains why the rules for initializing references make passing by reference-to-const an efficient and attractive alternative to passing by value.
   http://www.embedded.com/story/OEG20010919S0041
http://linuxquality.sunsite.dk/articles/memberpointers/
Pointers to C++ Member Functions Open in a new browser window
   Discusses what member function pointers are, shows how to declare and use them, and gives some examples of problems that they solve very well.
   http://linuxquality.sunsite.dk/articles/memberpointers/
http://www.embedded.com/story/OEG20010821S0089
Reference Initializations Open in a new browser window
   Explains how the rules for initializing references differ from the rules for initializing pointers.
   http://www.embedded.com/story/OEG20010821S0089
http://www.ddj.com/dept/cpp/200001978
Simulating Polymorphic Operators in C++ Open in a new browser window
   Presents three different techniques for making operators polymorphic.
   http://www.ddj.com/dept/cpp/200001978
http://www.xs4all.nl/~carlo17/cpp/const.qualifier.html
The const Qualifier Open in a new browser window
   Explains the use of the const qualifier on small code snippets. (by Carlo Wood)
   http://www.xs4all.nl/~carlo17/cpp/const.qualifier.html
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1345.html
Type Traits Proposal Open in a new browser window
   A proposal to add Type Traits to the C++ Standard Library.
   http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1345.html

Last Updated: 2007-10-16 13:07:18