cmoon::copy_extent


Defined in module <cmoon.type_traits>


template<class From, class To>
struct copy_extent;


(1)

Copies the array extent from type From to type To.

If std::rank_v<From> <= 0 or std::extent_v<From> <= 0, extent is not copied.

Helper variable template




template<class From, class To>
using copy_extent_t = typename copy_extent<From, To>::type;