cmoon::movable_value


Defined in module <cmoon.concepts>


template<class T>
concept movable_value = std::move_constructible<std::decay_t<T>> &&
                        std::constructible_from<std::decay_t<T>, T>;


(1)

The concept movable_value<T> is satisfied if and only if T is moveable, but does not need to be swappable.