C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
"Metaprogramming as 'type computation'..." More...
Modules | |
Exercise 2-0 | |
Define a metafunction to add const& . | |
Exercise 2-1 | |
Define a metafunction to replace types. | |
Exercise 2-2 | |
Rewrite boost::polymorphic_downcast . | |
Exercise 2-3 | |
Print data-types using Boost MPL. | |
Exercise 2-4 | |
Print data-types using a home-grown solution. | |
Exercise 2-5 | |
Describe a data-type in English. | |
Files | |
file | chapter-2.cpp |
Test application for Chapter 2. | |
"Metaprogramming as 'type computation'..."
C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond.