C++ Template Metaprogramming
Solutions to the exercises throughout the book
All Classes Namespaces Files Functions Variables Typedefs Macros Modules Pages
chapter-2.cpp File Reference

Test application for Chapter 2. More...

#include "exercise-2-0.hpp"
#include "exercise-2-3.hpp"
#include "exercise-2-1.hpp"
#include "exercise-2-2.hpp"
#include "exercise-2-4.hpp"
#include "exercise-2-5.hpp"
#include <boost/type_traits/is_same.hpp>
#include <cxxabi.h>
#include <iostream>
#include <typeinfo>

Go to the source code of this file.

Classes

struct  anonymous_namespace{chapter-2.cpp}::TestA
 
struct  anonymous_namespace{chapter-2.cpp}::TestB
 

Namespaces

namespace  anonymous_namespace{chapter-2.cpp}
 

Functions

static char const * anonymous_namespace{chapter-2.cpp}::demangle (char const *const name)
 
static void anonymous_namespace{chapter-2.cpp}::test_exercise_2_0 ()
 Tests for Exercise 2-0.
 
static void anonymous_namespace{chapter-2.cpp}::test_exercise_2_1 ()
 Tests for Exercise 2-1.
 
static void anonymous_namespace{chapter-2.cpp}::test_exercise_2_2 ()
 Tests for Exercise 2-2.
 
static void anonymous_namespace{chapter-2.cpp}::test_exercise_2_3 ()
 Tests for Exercise 2-3.
 
static void anonymous_namespace{chapter-2.cpp}::test_exercise_2_4 ()
 Tests for Exercise 2-4.
 
static void anonymous_namespace{chapter-2.cpp}::test_exercise_2_5 ()
 Tests for Exercise 2-5.
 
int main ()
 

Detailed Description

Test application for Chapter 2.

Author
Matt Bisson

Definition in file chapter-2.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 206 of file chapter-2.cpp.