Start reading C++ Template Metaprogramming on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond
 
 

C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond [Kindle Edition]

David Abrahams , Aleksey Gurtovoy
4.2 out of 5 stars  See all reviews (4 customer reviews)

Digital List Price: £28.65 What's this?
Print List Price: £38.09
Kindle Price: £22.92 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £15.17 (40%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £22.92  
Paperback £32.38  


Product Description

Product Description

C++ Template Metaprogramming sheds light on the most powerful idioms of today's C++, at long last delivering practical metaprogramming tools and techniques into the hands of the everyday programmer.

A metaprogram is a program that generates or manipulates program code. Ever since generic programming was introduced to C++, programmers have discovered myriad "template tricks" for manipulating programs as they are compiled, effectively eliminating the barrier between program and metaprogram. While excitement among C++ experts about these capabilities has reached the community at large, their practical application remains out of reach for most programmers. This book explains what metaprogramming is and how it is best used. It provides the foundation you'll need to use the template metaprogramming effectively in your own work.

This book is aimed at any programmer who is comfortable with idioms of the Standard Template Library (STL). C++ power-users will gain a new insight into their existing work and a new fluency in the domain of metaprogramming. Intermediate-level programmers who have learned a few advanced template techniques will see where these tricks fit in the big picture and will gain the conceptual foundation to use them with discipline. Programmers who have caught the scent of metaprogramming, but for whom it is still mysterious, will finally gain a clear understanding of how, when, and why it works. All readers will leave with a new tool of unprecedented power at their disposal—the Boost Metaprogramming Library.

 

 

Note: CD materials are only available with the print edition.

From the Back Cover

Abrahams and Gurtovoy have written something close to a classic… marvelous fun to read…
Read the complete book review by Jack J. Woehr, Dr. Dobbs Journal, June 03, 2005

"If you're like me, you're excited by what people do with template metaprogramming (TMP) but are frustrated at the lack of clear guidance and powerful tools. Well, this is the book we've been waiting for. With help from the excellent Boost Metaprogramming Library, David and Aleksey take TMP from the laboratory to the workplace with readable prose and practical examples, showing that "compile-time STL" is as able as its runtime counterpart. Serving as a tutorial as well as a handbook for experts, this is the book on C++ template metaprogramming."
—Chuck Allison, Editor, The C++ Source

C++ Template Metaprogramming sheds light on the most powerful idioms of today's C++, at long last delivering practical metaprogramming tools and techniques into the hands of the everyday programmer.

A metaprogram is a program that generates or manipulates program code. Ever since generic programming was introduced to C++, programmers have discovered myriad "template tricks" for manipulating programs as they are compiled, effectively eliminating the barrier between program and metaprogram. While excitement among C++ experts about these capabilities has reached the community at large, their practical application remains out of reach for most programmers. This book explains what metaprogramming is and how it is best used. It provides the foundation you'll need to use the template metaprogramming effectively in your own work.

This book is aimed at any programmer who is comfortable with idioms of the Standard Template Library (STL). C++ power-users will gain a new insight into their existing work and a new fluency in the domain of metaprogramming. Intermediate-level programmers who have learned a few advanced template techniques will see where these tricks fit in the big picture and will gain the conceptual foundation to use them with discipline. Programmers who have caught the scent of metaprogramming, but for whom it is still mysterious, will finally gain a clear understanding of how, when, and why it works. All readers will leave with a new tool of unprecedented power at their disposal—the Boost Metaprogramming Library.

The companion CD-ROM contains all Boost C++ libraries, including the Boost Metaprogramming Library and its reference documentation, along with all of the book's sample code and extensive supplementary material.


 


Product details

  • Format: Kindle Edition
  • File Size: 2108 KB
  • Print Length: 400 pages
  • Publisher: Addison-Wesley Professional; 1 edition (10 Dec 2004)
  • Sold by: Amazon Media EU S.à r.l.
  • Language English
  • ASIN: B003XNTTBW
  • Text-to-Speech: Enabled
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: #125,207 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

David Abrahams
Discover books, learn about writers, and more.

Visit Amazon's David Abrahams Page


Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Customer Reviews

4 star
0
3 star
0
1 star
0
Most Helpful Customer Reviews
5 of 5 people found the following review helpful
Excellent 28 Dec 2007
By J. Jack
Format:Paperback
Not for the faint of heart. The book spends no time introducing simple template concepts - it skips straight into the application of them, using boost's MPL library past chapter 1.

Having reached chapter 3 in 3 days, I can faithfully say I've learnt more about how to use templates than I have in the last 3 years. Never before have I understood the workings (and reasoning behind) the STL's prominent use of *_traits<> structures, such as char_traits<>. And for that fact alone, this book is worth the price.

The rest of the book delves deeper still, and I suspect these more advanced topics are still just as eye-opening.

If you don't own anything on C++ metaprogramming, this is the book.
Comment | 
Was this review helpful to you?
4 of 5 people found the following review helpful
Format:Paperback
This is The Book on C++ template meta programming. It seems in future more and more C++ programmers should make them selfs familiar with languages like Haskel or Ocaml or in general, with functional programming. But The Book is really great achievement.
It opens my mind especially the chapters for DSEL. It very consistently presents all of the meta programming machinery with really industry strength examples from the Boost. Thank you guys for writing it and congratulations.
Comment | 
Was this review helpful to you?
0 of 1 people found the following review helpful
C++ Metaprogramming 23 May 2011
Format:Paperback
This book is one of a kind. In the inet there is a lot of information about metaprogramming, but in the book all information is well formed and easy to read.
Comment | 
Was this review helpful to you?

Popular Highlights

 (What's this?)
&quote;
We can solve any problem by introducing an extra level of indirection. &quote;
Highlighted by 3 Kindle users

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges