- ホーム
- > 洋書
- > 英文書
- > Computer / Languages
Full Description
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++.
Contents
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