GENERIC PROGRAMMING IN C++, USING METAPROGRAMMING
DOI:
https://doi.org/10.15381/idata.v10i1.6353Keywords:
Object Oriented Programming, C templates, generic or funtional programming, metaprogramming, partial evaluation.Abstract
The complexity in our programs increases along with the problems we deal with. A way of solving them is to repeat more than once the same structures, just like traditional or imperative programming accustomed us to. This article explores the relationships among C++ templates, generic programming and the ability to develop statistics computations and generation of codes. Several developers use languages of high level to developers use languages of high level to develop applications in scientific computation; and the mechanism of templates in C++ allows them to solve important problems in the design of libraries of class.
Downloads
Downloads
Published
Issue
Section
License
Copyright (c) 2007 Eduardo Raffo Lecca
![Creative Commons License](http://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png)
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
AUTHORS RETAIN THEIR RIGHTS:
a. Authors retain their trade mark rights and patent, and also on any process or procedure described in the article.
b. Authors retain their right to share, copy, distribute, perform and publicly communicate their article (eg, to place their article in an institutional repository or publish it in a book), with an acknowledgment of its initial publication in the INDUSTRIAL DATA.
c. Authors retain theirs right to make a subsequent publication of their work, to use the article or any part thereof (eg a compilation of his papers, lecture notes, thesis, or a book), always indicating the source of publication (the originator of the work, journal, volume, number and date).