Sponsored results

Links
  • Introduction to C++ Templates
    C++ templates are a powerful mechanism for code reuse, as they enable the programmer to write code that behaves the same for data of any type. [PDF] (August 16, 2001)
    http://web.onetel.net.uk/~anthony_w/cplusplus/intrototemplates.pdf
  • 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. (October, 2001)
    http://www.ddj.com/dept/cpp/184403799

  • 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. (September, 2002)
    http://www.ddj.com/dept/cpp/184401563
  • 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. (August, 2001)
    http://www.ddj.com/dept/cpp/184403791
  • Template Metaprogramming
    With template metaprogramming the compiler acts as a virtual computer, emitting code optimized for a specific purpose or environment. (October 28, 1999)
    http://bdn1.borland.com/article/borcon/files/4120/paper/4120.html
  • 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. (October, 2000)
    http://www.ddj.com/dept/cpp/184401293

  • Takes a look at the current state of export and offers some advice on using export effectively. (November, 2002)
    http://www.ddj.com/showArticle.jhtml?articleID=184401584
  • 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). (January, 2003)
    http://www.ddj.com/dept/cpp/184403853
  • 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
  • Gnarly New C++ Language Features
    Description and examples about some newer C++ template features which are now broadly supported by the compilers.
    http://www.cantrip.org/gnarly.html
  • 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
  • Template MetaProgramming in C++
    Presentation with extended examples C++ template meta-programming. [PDF]
    http://medialab.di.unipi.it/web/AP/MetaProgramming.ppt
  • 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
  • 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. (January 24, 2003)
    http://www.informit.com/articles/article.asp?p=30667
  • 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. (April 11, 2003)
    http://www.informit.com/articles/article.asp?p=31473
  • Templates for Efficient Dynamic Type Checking
    Presents a handy template that makes it easy to check casts without losing performance. (April 15, 2003)
    http://www.ddj.com/dept/cpp/184403724
  • 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. (August 23, 2004)
    http://www.artima.com/cppsource/metafunctions.html

 

The Computer Science Directory currently has categories, which include links along with indexed pages.