std::experimental::ranges::Copyable

Header: <experimental/ranges/concepts>

The concept Copyable specifies that T is an Movable object type that can also copied (that is, it supports copy construction and copy assignment).

# Declarations

template< class T >
concept bool Copyable =
CopyConstructible<T> &&
Movable<T> &&
Assignable<T&, const T&>;

(ranges TS)

# Notes

It is intended that Copyable also requires Assignable<T&, const T> (assignment from const rvalue) and Assignable<T&, T&> (assignment from non-const lvalue) to be satisfied.

# See also