Home Page Icon
Home Page
Table of Contents for
Programming Newsletter
Close
Programming Newsletter
by Joel Falcou, Edouard Alligand
Practical C++ Metaprogramming
Preface
A Journey of a Thousand Miles Begins with a Single Step
Understanding Metaprogramming
Conventions Used in This Report
Acknowledgments
1. Introduction
A Misunderstood Technique
What Is Metaprogramming?
The Early History of Metaprogramming
Enter C++ Templates
How to Get Started with Metaprogramming
Checking Integer Type
Checking the Memory Model
Summary
2. C++ Metaprogramming in Practice
A Typical Code Maintenance Assignment
Creating a Straightforward Interface
Generating Code Automatically
Making Values and Pointers Work Together
Type Manipulation 101
A Generic Function Translator
Extracting the C Function’s Parameters
Getting a List of Functions and Parameters
Filling the Values for the C Function
Calling the Legacy C Function
Simplifying the Code
Putting It All Together
Summary
3. C++ Metaprogramming and Application Design
Compile-Time Versus Runtime Paradigms
Values at Compile Time
Functions at Compile Time
Type Containers
Compile-Time Operations
Using Pack-Intrinsic Information
Adding and Removing Pack Elements
Pack Rewrapping
Container Transformations
Advanced Uses of Metaprogramming
A Revisited Command Pattern
Compile-Time Serialization
Helper Functions and Libraries
Summary
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Practical C++ Metaprogramming
Programming Newsletter
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset