Back to Search Start Over

Building More Flexible Types With Mixins.

Authors :
Diggins, Christopher
Source :
C/C++ Users Journal. Jan2006, Vol. 24 Issue 1, p60-61. 2p.
Publication Year :
2006

Abstract

This article deals with the application of the Curiously Recurring Template Pattern in computer programming. Curiously Recurring Template Pattern is a common term given to the technique of inheriting from a template parameter. Outside of the C++ community, the technique is known more widely as a mixin. Hence, mixins are described in the essay to be a powerful tool for expressing abstractions, but the pattern is often viewed as a somewhat exotic technique and somewhat under utilized. In this regard, this essay shows how it can be used in a rather pedestrian manner to create simple designs that are significantly more flexible.

Details

Language :
English
ISSN :
10752838
Volume :
24
Issue :
1
Database :
Academic Search Index
Journal :
C/C++ Users Journal
Publication Type :
Periodical
Accession number :
19197562