std::experimental::ranges:: Copyable
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
| Core language concepts | ||||||||||||||||||
| Object concepts | ||||||||||||||||||
|
||||||||||||||||||
| Comparison concepts | ||||||||||||||||||
| Callable concepts | ||||||||||||||||||
| URNG concept | ||||||||||||||||||
|
template
<
class
T
>
concept
bool
Copyable
=
|
(ranges TS) | |
概念
Copyable<T>
规定
T
是一个
Movable
对象类型,且该类型同时支持复制操作(即支持拷贝构造和拷贝赋值)。
注释
预期
Copyable<T>
还要求满足
Assignable
<
T
&
,
const
T
>
(从常量右值赋值)和
Assignable
<
T
&
, T
&
>
(从非常量左值赋值)。
参见
|
指定该类型对象可被移动和交换
(概念) |