Template Metaprogramming with C++

Template Metaprogramming with C++

Marius Bancila

69,38 €
IVA incluido
Disponible
Editorial:
Packt Publishing
Año de edición:
2022
Materia
Análisis y diseño de sistemas
ISBN:
9781803243450
69,38 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Librería Aciertas (Toledo)
  • Kálamo Books
  • Librería Perelló (Valencia)
  • Librería Elías (Asturias)
  • Donde los libros
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

Understand how to use modern C++ templates for writing maintainable, robust, and fast softwareKey Features:Grasp the fundamentals of and learn to write effective C++ templatesGet up to speed with the latest C++20 template features such as constraints and conceptsExplore different patterns and idioms to integrate templates in your program designBook Description:Learn how the metaprogramming technique enables you to create data structures and functions that allow computation to happen at compile time. With this book, you’ll realize how templates help you avoid writing duplicate code and are key to creating generic libraries, such as the standard library or Boost, that can be used in a multitude of programs.The introductory chapters of this book will give you insights into the fundamentals of templates and metaprogramming. You’ll then move on to practice writing complex templates and exploring advanced concepts such as template recursion, template argument deduction, forwarding references, type traits, and conditional compilation. Along the way, you’ll learn how to write variadic templates and how to provide requirements to the template arguments with C++20 constraints and concepts. Finally, you’ll apply your knowledge of C++ metaprogramming templates to implement various metaprogramming patterns and techniques.By the end of this book, you’ll have learned how to write effective templates and implement metaprogramming in your everyday programming journey.What You Will Learn:Understand the syntax for all types of templatesDiscover how specialization and instantiation worksGet to grips with template argument deduction and forwarding referencesWrite variadic templates with easeBecome familiar with type traits and conditional compilationRestrict template arguments in C++20 with constraints and conceptsImplement patterns such as CRTP, mixins, and tag dispatchingWho this book is for:This book is for beginner-to-intermediate C++ developers who want to learn about template metaprogramming as well as advanced C++ developers looking to get up to speed with the new C++20 features related to templates and the the various idioms and patterns. Basic C++ coding experience is necessary to get started with this book.

Artículos relacionados

  • Mastering Secure Java Applications
    Debopam Poddar / Joyanta Banerjee / Tarun Kumar Chawdhury / Vipul Gupta
    Elevate your Java security skills for the modern cloud eraDESCRIPTION This book offers a comprehensive guide to implementing Zero-Trust security principles, cloud-based defenses, and robust application development practices. Through practical examples and expert advice, readers will gain the skills needed to design and develop secure Java applications that easily can tackle to...
    Disponible

    49,94 €

  • Python Mini Manual
    CodeCraft Dynamics
    Embark on a journey to master Python with this comprehensive guide that covers everything from the basics to advanced concepts. Whether you’re new to programming or looking to enhance your skills, this book offers a blend of focused discussions, real-world examples, and practice exercises to help you become proficient in Python. Begin by exploring an overview of Python and its ...
    Disponible

    12,05 €

  • C++ Programming Cookbook
    Anais Sutherland
    'C++ Programming Cookbook' stands out as a clear, concise, and powerful technical resource for programmers who want to master C++’s intricacies. C++ programmers face a wide variety of problems, and this carefully written book is a treasure trove of solutions and methods to those software development challenges.Each chapter is organized to help you get a good grasp of the langua...
    Disponible

    61,97 €

  • Python Advanced Programming
    Marcus Richards
    If you want to learn the most modern programming language in the world, then keep reading.Python is an high-level programming language. It’s a modern language, easy to learn and understand but very powerful.It’s a versatile programming language that is now being used on a lot of different projects, from world-class internet companies to small hobbyists, Python is extremely flex...
    Disponible

    22,81 €

  • React and React Native - Fifth Edition
    Adam Boduch / Mikhail Sakhniuk
    Get a big-picture view of modern React and React Native and see how they go hand-in-hand - covering TypeScript development, Vite, state management strategies, unit testing with Jest, and more.Purchase of the print or Kindle book includes a free PDF eBook.Key Features:- New content on TypeScript, React frameworks, state management strategies, and unit testing- Get to grips with ...
    Disponible

    90,71 €

  • Practical Rust 1.x Cookbook, Second Edition
    Lloyd Frank
    If you want to learn how to program in Rust and create strong, reliable apps with the most recent version Rust 1.68, then you need the 'Practical Rust 1.x Cookbook (Second Edition)'-a book full of real-world solutions. An extensive collection of practical recipes covering a wide range of topics. You will learn the fundamentals of programming, how to set up a development environ...
    Disponible

    62,44 €

Otros libros del autor

  • Modern C++ Programming Cookbook - Third Edition
    Marius Bancila
    Meta Description: With a wealth of practical recipes, this third edition isn’t just a guide to C++23; it’s a complete resource covering key features and techniques from C++11 through to C++23. It’s designed to keep you ahead of the curve in C++.Key Features:- Updated and packed with new recipes, including sync streams, std:expected and std:mdspan, and C++20/23 range adaptors- C...
    Disponible

    80,94 €

  • Modern C++ Programming Cookbook - Second Edition
    Marius Bancila
    ...
    Disponible

    132,46 €

  • The Modern C++ Challenge
    Marius Bancila
    Test your C++ programming skills by solving real-world programming problems covered in the book Key Features Solve a variety of real-world programming and logic problems by leveraging the power of C++17Test your skills in using language features, algorithms, data structures, design patterns, and moreExplore areas such as cryptography, communication, and image handling in C++ B...
    Disponible

    57,25 €

  • Modern C++ Programming Cookbook
    Marius Bancila
    ...
    Disponible

    75,74 €