标准摘要
[中文适用范围]: 本技术说明描述的是实验性的扩展,不属于C++标准库的一部分。这些扩展不应直接在std命名空间中声明。除非另有说明,本技术说明中描述的所有组件要么:原地修改C++标准库中的现有接口;声明在一个命名空间中,其名称是在C++标准库中定义的命名空间(如std)后追加::experimental::concurrency_v1;或者声明在上述命名空间的子命名空间中,且其名称与std命名空间的现有子命名空间不同。 [外文原描述]: Since the extensions described in this ISO/IEC TS 19571:2016 are experimental and not part of the C++ standard library, they should not be declared directly within namespace std. Unless otherwise specified, all components described in this technical specification either: - modify an existing interface in the C++ Standard Library in-place, - are declared in a namespace whose name appends ::experimental::concurrency_v1 to a namespace defined in the C++ Standard Library, such as std, or - are declared in a subnamespace of a namespace described in the previous bullet, whose name is not the same as an existing subnamespace of namespace std. Each header described in this ISO/IEC TS 19571:2016 shall import the contents of std::experimental::concurrency_v1 into std::experimental as if by namespace std { namespace experimental { inline namespace concurrency_v1 {} } }
英文名称Programming Languages - Technical specification for C++ extensions for concurrency