C++ Template Metaprogramming
Solutions to the exercises throughout the book
Loading...
Searching...
No Matches

Tests functionality from Exercise 3-0. More...

Variables

unsigned const one = checked_binary<1>::value
 
unsigned const three = checked_binary<11>::value
 
unsigned const five = checked_binary<101>::value
 
unsigned const seven = checked_binary<111>::value
 
unsigned const nine = checked_binary<1001>::value
 

Detailed Description

Tests functionality from Exercise 3-0.

Variable Documentation

◆ five

unsigned const test_3_0::five = checked_binary<101>::value

Definition at line 57 of file chapter-3.cpp.

◆ nine

unsigned const test_3_0::nine = checked_binary<1001>::value

Definition at line 59 of file chapter-3.cpp.

◆ one

unsigned const test_3_0::one = checked_binary<1>::value

Definition at line 55 of file chapter-3.cpp.

◆ seven

unsigned const test_3_0::seven = checked_binary<111>::value

Definition at line 58 of file chapter-3.cpp.

◆ three

unsigned const test_3_0::three = checked_binary<11>::value

Definition at line 56 of file chapter-3.cpp.