C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Solution to Exercise 2-5. More...
#include <iostream>
Go to the source code of this file.
Classes | |
struct | exercise_2_5::type_descriptor_eng< T > |
Display data-types in English wording. More... | |
Namespaces | |
namespace | exercise_2_5 |
Encapsulate solution for Exercise 2-5. | |
Functions | |
template<typename T > | |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< T const > const &) |
template<typename T > | |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< T & > const &) |
template<typename T > | |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< T * > const &) |
template<typename T > | |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< T[]> const &) |
template<typename T , size_t N> | |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< T[N]> const &) |
template<typename T > | |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< T()> const &) |
template<typename T > | |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< T(*)()> const &) |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< char > const &) |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< short > const &) |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< int > const &) |
std::ostream & | exercise_2_5::operator<< (std::ostream &os, type_descriptor_eng< long > const &) |
Solution to Exercise 2-5.
Definition in file exercise-2-5.hpp.