Nicolai M. Josuttis: solutions in time  Index

C++ Templates - The Complete Guide

Index

This is the index of all code examples of the book C++ Templates - The Complete Guide by David Vandevoorde and Nicolai M. Josuttis.



[contents]  [examples-home]  [book-home]  [copyrights

A

accum<>() with AccumulationTraits<>
accum<>() with AccumulationTraits<>: test program
accum<>() with SumPolicy<>
AccumulationTraits<>
addValue<>()
addValue<>() application
argument passing by-value or by-reference argument passing
Array<>
arrays: partial specialization

B

BaseMemberPair<>
bind<>()
Binder<>
binders for function objects
BitOrClassCSM<> partial specialization
BitOrClassCSM<> primary template
by-value or by-reference parameter passing

C

class template
class template application
class template specialization for strings
class template specialization for strings: test program
Composer<>
Composer<>: test program
composition of function objects
CompoundT<> (1st version)
CompoundT<> (2nd version)
CompoundT<> for arrays
CompoundT<> for functions
CompoundT<> for references
CompoundT<> pointers
ConsumeUDC<>
Coord
counter for objects
counter for objects: test program
CountingPtr<>
CountingPtr<>: test program
C-String as by-reference parameter
C-String as by-value parameter

D

DotProduct<>
Duo<>
Duo<>: test program
dynamic polymorphism
dynamic polymorphism hierarchy

E

EBCO
ElementT<>
empty base class optimization
EmptyClass<>
enum_check()
expression template

F

ForwardParamT<>
function object
function object binder
function object composition
function pointer
function template
function template application
function template, overloading
function template, overloading with pointers
FunctionPtrT<>
functions: partial specialization
functor
functor application
functor binder
functor composition
fundamental type classification

H

Holder<>
Holder<>: test program

I

IfThenElse<>
implicit_cast<>()
IsClassT<>
IsClassT<>: test program
IsEnumT<>
IsFunctionT<>
IsFundaT<>
IsFundaT<>: test program
is_prime<>

L

loop unrolling

M

max<>()
member template
member template application
member template: assignment operator
MemberReferenceCount<>
meta program Pow3<>
meta program Sqrt<>
meta program Sqrt<>: test program
meta program Sqrt<> with IfThenElse<>
meta program Sqrt<> with IfThenElse<>: test program
meta program Sqrt<> with iteration
meta program Sqrt<> with iteration: test program
meta programming: prime numbers

N

named template parameter
nontype template
nontype template application

O

ObjectCounter<>
ObjectCounter<>: test program
overloaded function template
overloaded function template for pointers

P

parameter passing by-value or by-reference argument passing
partial specialization
pointer to function
pointers: partial specialization
policy class
Pow3<>
Pow3<>: test program
primary template
prime numbers meta program
printcoll<>()
printcoll<>(): test program

R

reference counting: CountingPtr<>
reference counting: SimpleReferenceCount<>
reference versus non-reference parameter
references: partial specialization
RefMembers<>

S

SArray<>
SimpleReferenceCount<>
smart pointer
smart pointer application
SortTracer<>
SortTracer<> application
SortTracer<> definition
specialization, partial
Sqrt<>
Sqrt<>: test program
Sqrt<> with IfThenElse<>
Sqrt<> with IfThenElse<>: test program
Sqrt<> with iteration
Sqrt<> with iteration: test program
Stack<>
Stack<> specialization for strings
Stack<> specialization for strings: test program
Stack<> with member templates
Stack<> with member templates: test program
Stack<> with parameterized STL container
Stack<> with parameterized STL container: test program
Stack<> with size as template parameter
Stack<> with size as template parameter: test program
Stack<> with template template parameter
Stack<> with template template parameter: test program
static polymorphism
static polymorphism hierarchy
SumPolicy<>

T

template meta program Pow3<>
template meta program Sqrt<>
template meta program Sqrt<>: test program
template meta program Sqrt<> with IfThenElse<>
template meta program Sqrt<> with IfThenElse<>: test program
template meta program Sqrt<> with iteration
template meta program Sqrt<> with iteration: test program
template parameter, named
template template parameter
template template parameter application
traits
Trule<>
Trule<>: test program
Tuple<>
Tuple<>: test program
type classification
type classification: test program
TypeOp<>
typeop.hpp
TypeT<>
typet.hpp

U

unrolling loops
Unruh, Erwin