Embracing Modern C++ Safely

Embracing Modern C++ Safely

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Maximize Reward and Minimize Risk with Modern C++ Embracing Modern C++ Safely shows you how to make effective use of the new and enhanced language features of modern C++ without falling victim to their potential pitfalls. Based on their years of experience with large, mission-critical projects, four leading C++ authorities divide C++11/14 language features into three categories: Safe, Conditionally Safe, and Unsafe. Safe features offer compelling value, are easy to use productively, and are relatively difficult to misuse. Conditionally safe features offer significant value but come with risks that require significant expertise and familiarity before use. Unsafe features have an especially poor risk/reward ratio, are easy to misuse, and are beneficial in only the most specialized circumstances. This book distills the C++ community's years of experience applying C++11 and C++14 features and will help you make effective and safe design decisions that reflect real-world, economic engineering tradeoffs in large-scale, diverse software development environments. The authors use examples derived from real code bases to illustrate every finding objectively and to illuminate key issues. Each feature identifies the sound use cases, hidden pitfalls, and shortcomings of that language feature. After reading this book, you will Understand what each C++11/14 feature does and where it works best Recognize how to work around show-stopping pitfalls and annoying corner cases Know which features demand additional training, experience, and peer review Gain insights for preparing coding standards and style guides that suit your organization's needs Be equipped to introduce modern C++ incrementally and judiciously into established code bases Seasoned C++ developers, team leads, and technical managers who want to improve productivity, code quality, and maintainability will find the insights in this modular, meticulously organized reference indispensable. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Table of Contents:
Foreword by Shawn Edwards xiii Foreword by Andrei Alexandrescu xv Acknowledgments xix About the Authors xxv Chapter 0: Introduction 1 What Makes This Book Different 1 Scope for the First Edition 2 The EMC++S Guiding Principles 3 What Do We Mean by Safely? 4 A Safe Feature 5 A Conditionally Safe Feature 5 An Unsafe Feature 6 Modern C++ Feature Catalog 6 How to Use This Book 8 Chapter 1: Safe Features 11 1.1 C++11 11 Attribute Syntax | Generalized Attribute Support 12 Consecutive >s | Consecutive Right-Angle Brackets 21 decltype | Operator for Extracting Expression Types 25 Defaulted Functions | Using = default for Special Member Functions 33 Delegating Ctors | Constructors Calling Other Constructors 46 Deleted Functions | Using = delete for Arbitrary Functions 53 explicit Operators | Explicit Conversion Operators 61 Function static '11 | Thread-Safe Function-Scope static Variables 68 Local Types '11 | Local/Unnamed Types as Template Arguments 83 long long | The long long (≥64 bits) Integral Type 89 noreturn | The [[noreturn]] Attribute 95 nullptr | The Null-Pointer-Literal Keyword 99 override | The override Member-Function Specifier 104 Raw String Literals | Syntax for Unprocessed String Contents 108 static_assert | Compile-Time Assertions 115 Trailing Return | Trailing Function Return Types 124 Unicode Literals | Unicode String Literals 129 using Aliases | Type/Template Aliases (Extended typedef) 133 1.2 C++14 138 Aggregate Init '14 | Aggregates Having Default Member Initializers 138 Binary Literals | Binary Literals: The 0b Prefix 142 deprecated | The [[deprecated]] Attribute 147 Digit Separators | The Digit Separator (') 152 Variable Templates | Templated Variable Declarations/Definitions 157 Chapter 2: Conditionally Safe Features 167 2.1 C++11 167 alignas | The alignas Specifier 168 alignof | The alignof Operator 184 auto Variables | Variables of Automatically Deduced Type 195 Braced Init | Braced-Initialization Syntax: {} 215 constexpr Functions | Compile-Time Invocable Functions 257 constexpr Variables | Compile-Time Accessible Variables 302 Default Member Init | Default class/union Member Initializers 318 enum class | Strongly Typed, Scoped Enumerations 332 extern template | Explicit-Instantiation Declarations 353 Forwarding References | Forwarding References (T&&) 377 Generalized PODs '11 | Trivial and Standard-Layout Types 401 Inheriting Ctors | Inheriting Base-Class Constructors 535 initializer_list | List Initialization: std::initializer_list 553 Lambdas | Anonymous Function Objects (Closures) 573 noexcept Operator | Asking if an Expression Cannot throw 615 Opaque enums | Opaque Enumeration Declarations 660 Range for | Range-Based for Loops 679 Rvalue References | Move Semantics and Rvalue References (&&) 710 Underlying Type '11 | Explicit Enumeration Underlying Type 829 User-Defined Literals | User-Defined Literal Operators 835 Variadic Templates | Variable-Argument-Count Templates 873 2.2 C++14 958 constexpr Functions '14 | Relaxed Restrictions on constexpr Functions 959 Generic Lambdas | Lambdas Having a Templated Call Operator 968 Lambda Captures | Lambda-Capture Expressions 986 Chapter 3: Unsafe Features 997 3.1 C++11 997 carries_dependency | The [[carries_dependency]] Attribute 998 final | Prohibiting Overriding and Derivation 1007 friend '11 | Extended friend Declarations 1031 inline namespace | Transparently Nested Namespaces 1055 noexcept Specifier | The noexcept Function Specification 1085 Ref-Qualifiers | Reference-Qualified Member Functions 1153 union '11 | Unions Having Non-Trivial Members 1174 3.2 C++14 1182 auto Return | Function (auto) Return-Type Deduction 1182 decltype(auto) | Deducing Types Using decltype Semantics 1205 Afterword: Looking Back and Looking Forward 1215 Glossary 1217 Bibliography 1281 Index 1305


Best Sellers


Product Details
  • ISBN-13: 9780137380466
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • ISBN-10: 0137380461
  • Publisher Date: 13 Jan 2022
  • Binding: Digital download
  • No of Pages: 1376


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Embracing Modern C++ Safely
Pearson Education (US) -
Embracing Modern C++ Safely
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Embracing Modern C++ Safely

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA