Rejoignez-nous pour un voyage dans le monde des livres!
Ajouter ce livre à l'électronique
Grey
Ecrivez un nouveau commentaire Default profile 50px
Grey
Abonnez-vous pour lire le livre complet ou lisez les premières pages gratuitement!
All characters reduced
Template Metaprogramming with C++ - Learn everything about C++ templates and unlock the power of template metaprogramming - cover

Template Metaprogramming with C++ - Learn everything about C++ templates and unlock the power of template metaprogramming

Marius Bancila

Maison d'édition: Packt Publishing

  • 0
  • 0
  • 0

Synopsis

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.
Disponible depuis: 19/08/2022.
Longueur d'impression: 480 pages.

D'autres livres qui pourraient vous intéresser

  • The Book of the Barn Owl - cover

    The Book of the Barn Owl

    Sally Coulthard

    • 0
    • 0
    • 0
    With its heart-shaped face and silent, graceful flight, the barn owl regularly tops the nation's list of favourite birds. But how much do we really know about this sublime tenant of the night? Here, bestselling author Sally Coulthard shines a light on the barn owl. Full of fascinating insights, conservation advice and the latest research, this affectionate and timely guide also tells the story of a barn owl's early life – from first pip of the shell to leaving the nest – a fascinating time in this captivating creature's journey. 
    “Fascinating insights... An endearing book for lovers of the barn owl” DAILY MAIL 
    “Enjoyable and lyrical... enhanced by Vanessa Lubach's arresting lino prints” COUNTRY LIFE 
    “Packs in everything the amateur nature enthusiast would want to know” YORKSHIRE LIFE
    Voir livre
  • Eric Sloane's Weather Book - Unlocking the Secrets of the Sky: A Timeless Guide to Understanding Weather - cover

    Eric Sloane's Weather Book -...

    Eric Sloane

    • 0
    • 0
    • 0
    Eric Sloane's Weather Book is a timeless exploration of the fascinating world of weather. Through beautifully crafted illustrations and clear, engaging explanations, Eric Sloane unravels the mysteries of the atmosphere, teaching readers how to interpret clouds, winds, storms, and other natural phenomena. Blending meteorology, history, and practical wisdom, this book not only explains the science behind weather patterns but also invites readers to develop a deeper appreciation for nature's rhythms. Perfect for weather enthusiasts, outdoor adventurers, and curious minds, this classic guide provides insights into understanding and forecasting the ever-changing sky.
    Voir livre
  • Göbekli Tepe - The World's First Megaliths - cover

    Göbekli Tepe - The World's First...

    Hugh Newman

    • 0
    • 0
    • 0
    What is the earliest temple complex on Earth? Who built it? Is it really 7000 years older than Stonehenge and the Pyramids How did such a sophisticated civilisation evade detection for so long? In this groundbreaking little book, packed with original reseach and illustrations, megalithomaniac Hugh Newman tells the story of Göbekli Tepe, Karahan Tepe, Nevali Çori and other temples in Turkey, which are so old that their very existence challenges history as we know it.
    Voir livre
  • Ultimate Typescript Handbook - cover

    Ultimate Typescript Handbook

    Dan Wellman

    • 0
    • 0
    • 0
    Unleash the Power of Modern Web Development with Typescript
    
    KEY FEATURES 
    - This book offers hands-on examples for Typescript programming
    - Advanced Typescript features such as enums, interfaces and namespaces explained
    - Shares best practices for structuring TypeScript code using type annotations. Helps develop maintainable and scalable TypeScript code.
    
    DESCRIPTION
    This book provides a comprehensive guide to TypeScript, a programming language that extends JavaScript with powerful features like static typing, classes, and interfaces. The book is divided into thirteen chapters that cover everything from setting up a development environment to building an Angular app with TypeScript. 
    
    We start with an introduction to TypeScript and its benefits and go on to explain how TypeScript can help developers write more maintainable, scalable code and catch errors before they make it to production. The book then dives into more technical topics like basic type annotations, using the TypeScript compiler, advanced features like enums and interfaces, and manipulating types. 
    
    The book then discusses chapters on classes and control flow analysis that are particularly helpful for developers looking to build more complex applications. The book teaches by example, with numerous code examples that illustrate the main concepts and approaches towards writing TypeScript programs and codes, and finishes with a comprehensive practical example that shows step-by-step development of a modern web application using TypeScript and Angular.
    
    WHAT WILL YOU LEARN 
    - Learn how to create a new TypeScript project with default settings and configurations. 
    - Discover how to incorporate basic type-annotations into your code for improved clarity and accuracy. 
    - Explore the use of type-aliases, interfaces, and enums to write more organized and expressive TypeScript code. 
    - Gain knowledge on building modular and error-free applications in TypeScript. 
    - Discover how to leverage type-guards, classes, and other TypeScript utilities to write more robust code. 
    - Learn how to work with advanced features like generics and take your TypeScript skills to the next level.
    
    WHO IS THIS BOOK FOR?
    This book is targeted towards front-end developers who are familiar with JavaScript and are interested in expanding their skillset with TypeScript. Whether you are a beginner with little to no experience or an intermediate developer looking for a reference guide, this book is designed to help you supercharge your development and enhance your tooling. With its clear and concise explanations, it's perfect for those who are new to TypeScript and looking to gain a deeper understanding of its capabilities.
    
    TABLE OF CONTENTS 
    Chapter 1: Introduction to TypeScript and its Benefits
    Chapter 2: Setting Up a Development Environment
    Chapter 3: Basic Type Annotations
    Chapter 4: Using the TypeScript Compiler
    Chapter 5: Enums, Interfaces, and Namespaces
    Chapter 6: Objects, Arrays, and Tuples in TypeScript
    Chapter 7: Functions in TypeScript
    Chapter 8: Classes in TypeScript
    Chapter 9: Control Flow Analysis
    Chapter 10: Manipulating Types
    Chapter 11: TypeScript Modules
    Chapter 12: Creating Declaration Files
    Chapter 13: TypeScript Project: Creating an Angular App
    Voir livre
  • Rise of the Zombie Bugs - The Surprising Science of Parasitic Mind-Control - cover

    Rise of the Zombie Bugs - The...

    Mindy Weisberger

    • 0
    • 0
    • 0
    Zombies are all around us—insect zombies, that is. Zombifying parasites reproduce by rewriting their victims' neurochemistry, transforming them into the "walking dead": armies of cicadas, spiders, and other hosts that helplessly follow a zombifier's commands, living only to serve the parasite's needs until death's sweet release (and often beyond). 
     
     
     
    With vivid description, Mindy Weisberger explains the sinister mechanics of nature's most cunning survival strategies, including the biological marvels and evolutionary intricacies behind zombie ants, mind-controlled beetles, and the fungi and viruses that reprogram their hosts' behavior. Blending scientific rigor with a flair for the macabre, Weisberger takes listeners on a global journey to uncover the dark secrets of parasitic manipulation. 
     
     
     
    Her examination of these creatures seeks to answer fundamental questions of their existence: why is a bug's world full of zombies, why are arthropods so susceptible to this zombification, and could the creators of zombie bugs ever evolve to do the same to people? Perfect for fans of horror and science alike, Rise of the Zombie Bugs offers a chilling yet enlightening look at the hidden world of parasites. It's a must-listen for anyone curious about the true terrors lurking in nature's undergrowth and the unnerving beauty of evolution's darker side.
    Voir livre
  • The New Fire - War Peace and Democracy in the Age of AI - cover

    The New Fire - War Peace and...

    Ben Buchanan, Andrew Imbrie

    • 0
    • 0
    • 0
    Artificial intelligence is revolutionizing the modern world. It is ubiquitous—in our homes and offices, in the present and most certainly in the future. Today, we encounter AI as our distant ancestors once encountered fire. If we manage AI well, it will become a force for good, lighting the way to many transformative inventions. If we deploy it thoughtlessly, it will advance beyond our control. If we wield it for destruction, it will fan the flames of a new kind of war, one that holds democracy in the balance. As AI policy experts Ben Buchanan and Andrew Imbrie show in The New Fire, few choices are more urgent—or more fascinating—than how we harness this technology and for what purpose. 
     
     
      
    The new fire has three sparks: data, algorithms, and computing power. These components fuel viral disinformation campaigns, new hacking tools, and military weapons that once seemed like science fiction. To autocrats, AI offers the prospect of centralized control at home and asymmetric advantages in combat. It is easy to assume that democracies, bound by ethical constraints and disjointed in their approach, will be unable to keep up. But such a dystopia is hardly preordained. Combining an incisive understanding of technology with shrewd geopolitical analysis, Buchanan and Imbrie show how AI can work for democracy. With the right approach, technology need not favor tyranny.
    Voir livre