cmoon::copy_all_extents


Defined in module <cmoon.type_traits>


template<class From, class To>
struct copy_all_extents;


(1)

Recursively copies the array extent from type From to type To.

At any point in the structure std::rank_v<From> <= 0, copying extents stop.

Helper variable template




template<class From, class To>
using copy_all_extents_t = typename copy_all_extents<From, To>::type;