|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||
Defined in header <concepts> | ||
template<class T> concept copyable= | (since C++20) | |
The conceptcopyable<T> specifies thatT is amovable object type that can also be copied (that is, it supports copy construction and copy assignment).
(C++20) | specifies that an object of a type can be moved and swapped (concept)[edit] |