cmoon::decays_to


Defined in module <cmoon.concepts>


template<class From, class To>
concept decays_to = std::same_as<std::decay_t<From>, To>;


(1)

The concept decays_to<From, To> is satisfied if and only if the decayed type of From is the same as the type To.