C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches
chapter-1.cpp File Reference

Test application for Chapter 1. More...

#include <stdio.h>

Go to the source code of this file.

Classes

struct  chapter1::binary< N >
 Prepend higher bits to lowest bit. More...
 
struct  chapter1::binary< 0 >
 Recursion termination. More...
 
struct  anonymous_namespace{chapter-1.cpp}::test_result
 the container for test input and output. More...
 

Namespaces

namespace  chapter1
 Solutions for Chapter 1.
 
namespace  anonymous_namespace{chapter-1.cpp}
 

Functions

unsigned chapter1::binary_func (unsigned long const N)
 A runtime binary to decimal number translation.
 
int main ()
 

Detailed Description

Test application for Chapter 1.

Author
Matt Bisson

Definition in file chapter-1.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 84 of file chapter-1.cpp.