Skip to main content
  • Book
  • © 2015

Advanced Metaprogramming in Classic C++

Apress
  • Aims to publish like the sell like above at retail trade but most sales / revenue likely will come from eBooks and book databases.

  • The author, Davide Di Gennaro, is well reviewed.

  • C++ is one of today's most popular languages and enjoys a resurgence due to applications in games, makers, big data, finance and much more.

Buy it now

Buying options

eBook USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (14 chapters)

  1. Front Matter

    Pages i-xxvii
  2. #include <prerequisites>

    1. Front Matter

      Pages 1-1
    2. Templates

      • Davide Di Gennaro
      Pages 3-92
    3. Small Object Toolkit

      • Davide Di Gennaro
      Pages 93-118
  3. #include <techniques>

    1. Front Matter

      Pages 119-119
    2. Static Programming

      • Davide Di Gennaro
      Pages 121-172
    3. Overload Resolution

      • Davide Di Gennaro
      Pages 173-227
    4. Interfaces

      • Davide Di Gennaro
      Pages 229-274
    5. Algorithms

      • Davide Di Gennaro
      Pages 275-325
    6. Code Generators

      • Davide Di Gennaro
      Pages 327-371
    7. Functors

      • Davide Di Gennaro
      Pages 373-414
    8. The Opaque Type Principle

      • Davide Di Gennaro
      Pages 415-474
  4. #include <applications>

    1. Front Matter

      Pages 475-475
    2. Refactoring

      • Davide Di Gennaro
      Pages 477-499
    3. Debugging Templates

      • Davide Di Gennaro
      Pages 501-513
    4. C++0x

      • Davide Di Gennaro
      Pages 515-526
    5. Exercises

      • Davide Di Gennaro
      Pages 527-531
    6. Bibliography

      • Davide Di Gennaro
      Pages 533-533
  5. Back Matter

    Pages 535-541

About this book

Advanced Metaprogramming in Classic C++ aims to be both an introduction and a reference to C++ template metaprogramming (TMP); TMP is presented in the book as a set of techniques that will bring a new style in C++ and make code exceptionally clear and efficient. The book deals with language aspects, design patterns, examples and applications (seen as case studies). Special emphasis is put on small reusable techniques that will improve the quality of daily work.

What makes the book exceptional is the level of understanding of the concepts involved imparted by the author. This is not just a rote overview of metaprogramming. You will truly understand difficult topics like static assertions, how to write metafunctions, overload resolution, lambda expressions, and many others. More than that, you will work through them with practical examples guided by the author's frank explanations. This book requires you to think and to learn and to understand the language so that you can program at a higher level.

Bibliographic Information

Buy it now

Buying options

eBook USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access