Overview
- A handy compact reference handbook for C++17 code syntax
- Learn from succinct code examples
- Utilize new C++17 class templates such as std::variant, optional, any and string_view
Access this book
Tax calculation will be finalised at checkout
Other ways to access
About this book
In the C++17 Quick Syntax Reference, you will find short, simple, and focused code examples. This book includes a well laid out table of contents and a comprehensive index allowing for easy review. You won’t find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any C++ programmer.
What You'll Learn
- Use template argument deduction for class templates
- Declare non-type template parameters with auto-folding expressions and auto deduction from braced-init-list
- Apply lambdas and lambda capture by value
- Work with inline variables, nested namespaces, structured bindings, and selection statements with initializer
- Use utf-8 character literals
- Carry out direct-list initialization of enums
- Use these new C++17 library features or class templates from std::variant, optional, any, string_view, invoke, apply and more
- Do splicing for maps and sets, also new to C++17
Who This Book Is For
Experienced C++ programmers. Additionally, this is a concise, easily-digested introduction for other programmers new to C++.
Similar content being viewed by others
Table of contents (29 chapters)
Authors and Affiliations
About the author
Accessibility Information
Accessibility information for this book is coming soon. We're working to make it available as quickly as possible. Thank you for your patience.
Bibliographic Information
Book Title: C++17 Quick Syntax Reference
Book Subtitle: A Pocket Guide to the Language, APIs and Library
Authors: Mikael Olsson
DOI: https://doi.org/10.1007/978-1-4842-3600-0
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)
Copyright Information: Mikael Olsson 2018
eBook ISBN: 978-1-4842-3600-0Published: 29 March 2018
Edition Number: 3
Number of Pages: XVIII, 186
Number of Illustrations: 1 b/w illustrations
Topics: Programming Languages, Compilers, Interpreters, Programming Techniques