• 欢迎访问3y4.net
  • 请使用Edge、Chrome或Firefox测试显示内容。

C++20 Quick Syntax Reference, 4th Edition

经典图书 wes 1年前 (2023-02-23) 355次浏览

C++20 Quick Syntax Reference, 4th
Edition

C++20语法快速参考(第4版)


Author: Mikael Olsson

ISBN-10: 1484259947

Year: 2020

Pages: 223

Language: English

File format: PDF, ePub, mobi, azw3

This quick C++
20 guide is a condensed code and syntax reference to the popular programming
language, fully updated for C++20. It presents the essential C++20 code syntax
in a well-organized format that can be used as a handy reference.

This edition
covers topics including designated initializers, lambdas and lambda captures,
the spaceship operator, pack expressions, string literals as template
parameters, atomic smart pointers, and contracts. It also covers library
changes including extended futures, latches and barriers, task blocks, and text
formatting.

In the C++20
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:

Discover the key
C++20 features

Work with
concepts to constrain template arguments

Use modules as a
replacement for header files

Take advantage
of the three-way comparison operator

Create immediate
functions using the consteval keyword

Make use of
constexpr, constinit and designated initializers

Who This Book Is
For:

Experienced C++
programmers. Additionally, this is a concise, easily-digested introduction for
other programmers new to C++.

这份C ++ 20快速指南是流行编程语言的一份浓缩的代码和语法参考,针对C ++ 20进行了全面更新。它以组织良好的格式呈现了基本的C ++ 20代码语法,可以作为一个便利的参考。

此版本涵盖的主题包括designated
initializer, Lambda 和 Lambda
capture, spaceship
运算符, pack表达式,string literal作为模板参数,原子智能指针和contract。

C ++ 20快速语法参考中,您将找到简短,简单和重点突出的代码示例。本书包括一个布局合理的目录和一个易于阅读的综合索引。本书包含有用的信息,是任何C ++程序员的必备知识。

您将学到什么:

发现C ++ 20的关键特性

使用概念concepts来约束模板参数

使用模块module替代头文件

使用三元比较运算符

使用consteval关键字创建即时函数

使用constexprconstinit和designated initializers

这本书适合谁:

经验丰富的C ++程序员。另外,这对C
++
新手来说也是简洁,易于理解的介绍。


转载3y4.net请注明 --> 原文链接
喜欢 (0)