本书计划分为 11 章, 分别如下安排: 初始化列表(std::initializer_list) 统一的初始化方式 类型推导(auto 和 decltype 关键字) 基于范围的 for 循环 lambda 表达式 另一种可选的函数语法 对象创建优化 显式虚函数重载 空指针常量(nullptr) 强类型枚举 右尖括号(>) 显式类型转换 ...
本小节介绍 std::mutex 的用法。 std::mutex 是 C++11 中最基本的互斥量,std::mutex 对象提供了独占所有权的特性——即不支持递归地对 std::mutex 对象上锁,而 std::recursive_lock 则可以递归地对互斥量对象上锁。 std::mutex 的成员函数 构造函数,std::mutex不允许拷贝构造,也 ...
Blackboard Learn is the primary learning management system (LMS) at Boston University. It is used in residential and online courses, certificate programs, and clerkships. Students can access course ...