C++ Template Metaprogramming
Solutions to the exercises throughout the book
|
Solution to Exercise 4-4. More...
#include <boost/static_assert.hpp>
#include <boost/type_traits.hpp>
#include <boost/mpl/and.hpp>
Go to the source code of this file.
Classes | |
struct | exercise_4_4::is_data_member_pointer< T > |
Returns true if T is a pointer, but not a member function pointer. More... | |
struct | exercise_4_4::is_pointer_to_function< T > |
Returns true if T is a pointer to a (non-member) function type. More... | |
struct | exercise_4_4::is_reference_to_function_pointer< T > |
Returns true if T is a reference to a pointer to a (non-member) function! More... | |
struct | exercise_4_4::is_reference_to_non_const< T > |
Returns true if T is a reference type to a constant type. More... | |
Namespaces | |
namespace | exercise_4_4 |
Encapsulate solution for Exercise 4-4. | |
Solution to Exercise 4-4.
Definition in file exercise-4-4.hpp.