Canadian Content - Templates
C++ » Templates   Canadian Content
    Search:
Templates

Templates (C++)

Canadian Content - Templates Canadian Content > Computers: Programming: Languages: C++: Templates:


Templates Sites:

Template Tutorial Template Tutorial
Template Tutorial Introduction to C++ templates.
http://www.al-maqsood.org/developer/templates.htm
"Export" Restrictions, Part 1 "Export" Restrictions, Part 1
"Export" Restrictions, Part 1 Explains what export is, and how it's intended to be used. Also looks at the problems export is widely assumed to address, and why it does not in fact address them the way most people think.
http://www.gotw.ca/publications/mill23.htm
C++ Tutorial on Class Templates C++ Tutorial on Class Templates
C++ Tutorial on Class Templates Class templates provide a way to parameterize the types within a class. This tutorial introduces class templates in C++.
http://cplus.about.com/library/weekly/aa122802a.htm
A Deeper Look at Metafunctions A Deeper Look at Metafunctions
A Deeper Look at Metafunctions This article investigates the use of metafunctions in template metaprogramming, and introduces the Boost Metaprogramming Library. It is an excerpt from the book, C++ Template Metaprogramming by David Abrahams and Aleksey Gurtovoy.
http://www.artima.com/cppsource/metafunctions.html
Templates for Efficient Dynamic Type Checking Templates for Efficient Dynamic Type Checking
Templates for Efficient Dynamic Type Checking Ivan J. Johnson's template that makes it easy to check casts without losing performance
http://www.cuj.com/documents/s=8046/cuj9911johnson/
Typed Buffers, Part 2 Typed Buffers, Part 2
Typed Buffers, Part 2 This article does not treat buffers directly, but rather two operations that are commonly performed with buffers: filling a buffer with a value and copying between buffers and various containers.
http://www.cuj.com/documents/s=7990/cujcexp1910alexandr/
Partial Template Specialization and "operator->*" Partial Template Specialization and "operator->*"
Partial Template Specialization and "operator->*" Scott Meyers shows how to make smart pointers as behaviorally compatible with built-in pointers as possible by supporting operator->*.
http://www.ddj.com/documents/s=898/ddj9910b/9910b.htm
C++ Tutorial on Function Templates C++ Tutorial on Function Templates
C++ Tutorial on Function Templates This tutorial covers function templates in C++, which provide a way to parameterize the arguments or return types of a function. The same function can be used for different data types.
http://cplus.about.com/library/weekly/aa070202a.htm
"Export" Restrictions, Part 2 "Export" Restrictions, Part 2
"Export" Restrictions, Part 2 Takes a look at the current state of export and offers some advice on using export effectively.
http://www.gotw.ca/publications/mill24.htm
Template Metaprogramming Template Metaprogramming
Template Metaprogramming With template metaprogramming the compiler acts as a virtual computer, emitting code optimized for a specific purpose or environment.
http://community.borland.com/article/print/0,1772,10526,00.html
Befriending Templates Befriending Templates
Befriending Templates Looks at why befriending a template in another namespace is easier said (in the standard) than done (using real-world compilers that don't quite get the Standard right).
http://www.cuj.com/documents/s=8244/cujcexp2101sutter/
Template MetaProgramming in C++ Template MetaProgramming in C++
Template MetaProgramming in C++ Presentation with extended examples C++ template meta-programming. [PDF]
http://medialab.di.unipi.it/web/AP/MetaProgramming.ppt
Partial Template Implementation Partial Template Implementation
Partial Template Implementation Describes partial template specialization and partial ordering of function templates.
http://msdn.microsoft.com/library/en-us/dndeepc/html/deep07092002.asp
Typed Buffers, Part 1 Typed Buffers, Part 1
Typed Buffers, Part 1 This article treats memory buffers in C++, but with two twists: first, the buffers are generic, which means they can contain typed data. Second, the buffers are as efficient as their hosted type and the host operating system allows, in every aspect.
http://www.cuj.com/documents/s=7992/cujcexp1908alexandr/
Typedef Templates Typedef Templates
Typedef Templates Describes an extension to the C++ standard: typedef templates. Also shows workarounds for current C++ compilers.
http://msdn.microsoft.com/library/en-us/dndeepc/html/deep08032000.asp
An Improved Variant Type Based on Member Templates An Improved Variant Type Based on Member Templates
An Improved Variant Type Based on Member Templates This article presents the class variant_t, which encapsulates a mechanism to hold values of arbitrary types.
http://www.cuj.com/documents/s=8034/cuj0010cacciola/
Multiple Dispatch: A New Approach Using Templates and RTTI Multiple Dispatch: A New Approach Using Templates and RTTI
Multiple Dispatch: A New Approach Using Templates and RTTI This article focuses on two new techniques based on templates and Run Time Type Identification (RTTI).
http://www.eptacom.net/pubblicazioni/pub_eng/mdisp.html
Templates and Inheritance Interacting in C++ Templates and Inheritance Interacting in C++
Templates and Inheritance Interacting in C++ Discover the interesting ways that templates and inheritance interact by taking a close look at named template arguments, the Empty Base Class Optimization (EBCO), the Curiously Recurring Template Pattern (CRTP), and parameterized virtuality.
http://www.informit.com/articles/article.asp?p=31473
Template Argument Matching Template Argument Matching
Template Argument Matching Takes a look at template argument matching and shows two limitation of Microsoft's compiler in this regard.
http://msdn.microsoft.com/library/en-us/dndeepc/html/deep05042000.asp
Using Template Functions to Customize Library Behavior Using Template Functions to Customize Library Behavior
Using Template Functions to Customize Library Behavior Looks at function templates and how they can be used to provide hooks for customizing behavior.
http://www.cuj.com/documents/s=8028/cuj0103yoder/
C++ Templates: Metaprograms C++ Templates: Metaprograms
C++ Templates: Metaprograms Nicolai M. Josuttis and David Vandevoorde examine metaprogramming, or "programming a program." Learn how to lay out code that the programming system executes to generate new code that implements the functionality you really want.
http://www.informit.com/articles/article.asp?p=30667
Traits Traits
Traits A new and useful template technique that radically simplifies the interface to class templates instantiable on native C++ types.
http://www.cantrip.org/traits.html
Policy-Based Class Design in C++ Policy-Based Class Design in C++
Policy-Based Class Design in C++ Describes policies and policy classes, important class design techniques that enable the creation of flexible, highly reusable libraries.
http://www.informit.com/articles/article.asp?p=167842

Templates Related Pages: