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 | ||||||||||||||||||
|
Défini dans l'en-tête
<experimental/ranges/concepts>
|
||
|
template
<
class
T
>
concept
bool
Copyable
=
|
(ranges TS) | |
Le concept
Copyable<T>
spécifie que
T
est un type d'objet
Movable
qui peut également être copié (c'est-à-dire qu'il prend en charge la construction par copie et l'affectation par copie).
Notes
Il est prévu que
Copyable<T>
exige également que
Assignable
<
T
&
,
const
T
>
(affectation depuis une rvalue constante) et
Assignable
<
T
&
, T
&
>
(affectation depuis une lvalue non constante) soient satisfaites.
Voir aussi
|
spécifie qu'un objet d'un type peut être déplacé et échangé
(concept) |