C++17 Quick Syntax Reference (eBook)
XVIII, 186 Seiten
Apress (Verlag)
978-1-4842-3600-0 (ISBN)
- 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
Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subject in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory. The portal to his online businesses and other websites is Siforia-dot-com.
This quick C++17 guide is a condensed code and syntax reference to the popular programming language, fully updated for C++17. It presents the essential C++ syntax in a well-organized format that can be used as a handy reference.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 LearnUse template argument deduction for class templatesDeclare non-type template parameters with auto-folding expressions and auto deduction from braced-init-listApply lambdas and lambda capture by valueWork with inline variables, nested namespaces, structured bindings, and selection statements with initializerUse utf-8 character literalsCarry out direct-list initialization of enumsUse these new C++17 library features or class templates from std::variant, optional, any, string_view, invoke, apply and moreDo splicing for maps and sets, also new to C++17Who This Book Is ForExperienced C++ programmers. Additionally, this is a concise, easily-digested introduction for other programmers new to C++.
Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subject in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory. The portal to his online businesses and other websites is Siforia-dot-com.
1. HelloWorld2. Compile and Run3. Variables4. Operators5. Pointers6. References7. Arrays8. String9. Conditionals10. Loops11. Functions12. Class13. Constructor14. Inheritance15. Overriding16. Access Levels17. Static18. Enum19. Struct and Union20. Operator Overloading21. Custom Conversions22. Namespaces23. Constants24. Preprocessor25. Exception Handling26. Type Conversions27. Smart Pointers28. Templates29. Headers
Erscheint lt. Verlag | 29.3.2018 |
---|---|
Zusatzinfo | XVIII, 186 p. 1 illus. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Schlagworte | Apis • C++ • C++17 • Code • language • programming • Quick • Reference • STL • Syntax |
ISBN-10 | 1-4842-3600-9 / 1484236009 |
ISBN-13 | 978-1-4842-3600-0 / 9781484236000 |
Haben Sie eine Frage zum Produkt? |
Größe: 2,0 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich