Article ID Journal Published Year Pages File Type
423295 Electronic Notes in Theoretical Computer Science 2011 17 Pages PDF
Abstract

More and more C++ applications use template metaprograms directly or indirectly by using libraries based on that. Given the complexity of template metaprogramming, developers need supporting libraries. The most widely used one is the Boost template metaprogramming library. It implements commonly used compile time algorithms and meta-data structures in an extensible and reusable way. Despite the wellknown commonality of template metaprogramming and the functional programming paradigm, boost::mpl lacks a few important features directly supporting the functional style. In this paper we evaluate how and in what degree boost::mpl supports functional programming and present new elements it can be improved with.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics