C++ Template Metaprogramming: Concepts, Tools, and Techni... and over 2 million other books are available for Amazon Kindle . Learn more
£27.99
  • RRP: £33.99
  • You Save: £6.00 (18%)
FREE Delivery in the UK.
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Quantity:1
C++ Template Metaprogramm... has been added to your Basket
Trade in your item
Get a £9.96
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 3 images

C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond (C++ in Depth) Paperback – 10 Dec 2004

5 customer reviews

See all 3 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
£27.99
£18.89 £19.04
£27.99 FREE Delivery in the UK. Only 1 left in stock (more on the way). Dispatched from and sold by Amazon. Gift-wrap available.

Frequently Bought Together

C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond (C++ in Depth) + Modern C++ Design: Generic Programming and Design Patterns Applied: Applied Generic and Design Patterns (C++ in Depth) + Exceptional C++
Price For All Three: £87.97

Buy the selected items together


Trade In this Item for up to £9.96
Trade in C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond (C++ in Depth) for an Amazon Gift Card of up to £9.96, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Paperback: 400 pages
  • Publisher: Addison Wesley; 1 edition (10 Dec. 2004)
  • Language: English
  • ISBN-10: 0321227255
  • ISBN-13: 978-0321227256
  • Product Dimensions: 18.9 x 2 x 23.5 cm
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (5 customer reviews)
  • Amazon Bestsellers Rank: 410,428 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

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.


 

About the Author

David Abrahams is a founding member and moderator of the Boost C++ library development group. Dave has been an ANSI/ISO C++ committee member since 1996, where he is best known for contributing a theory, specification, and implementation of exception handling for the C++ standard library. His company, Boost Consulting, provides Boost-related support and development services and professional training in the art of software construction.

Aleksey Gurtovoy is a technical lead for MetaCommunications and a contributing member of the Boost C++ community. Aleksey is the original author of the Boost Metaprogramming Library. He has been working with C++ since 1993, and holds a M.S. degree in computer science from Krasnoyarsk Technical State University, Russia.




Inside This Book

(Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Customer Reviews

4.2 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

7 of 8 people found the following review helpful By J. Jack on 28 Dec. 2007
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? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
By Gerry Candy on 28 July 2015
Format: Paperback Verified Purchase
Like others say, this really is just documentation for the Boost MPL library, although still a good follow up on Modern C++ Design IMO. Modern C++ Design introduces the concepts of typelists in more applied setting, whereas C++ Template Metaprogramming overviews the internals and design decisions of the de-facto metaprogramming library.

Overall I rated it 4 stars as although I'm not very fond of the book as it reads more like a reference at times, I do I feel that it is one of the most advanced books out there and the author is clearly competent on the subject
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 6 people found the following review helpful By Todor Todorov on 21 Mar. 2005
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? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
0 of 2 people found the following review helpful By Metodi Todorov on 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? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 9 people found the following review helpful By Matthew Shaer on 20 Feb. 2009
Format: Paperback
The first half of the book feels like a reference manual on MPL. Some of the rest of the book was interesting, but overall it did not live up to my expectations at all.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again


Feedback