Kiwaku 0.1-beta
Containers Well Made
 
Loading...
Searching...
No Matches

◆ explicit()

template<auto... D>
template<auto... D2>
requires ( constraint_t::is_contructible_from<parent{},typename shape<D2...>::parent{}>() )
kwk::shape< D >::explicit ( static_order = sizeof...(D2)) const &
inlinenoexcept

Construct shape from another shape type.

Copy the content of another kwk::shape if their extents and axis are compatible.

Note
This constructor is explicit if the order of current shape is not equal to the order of other.
Parameters
otherShape to copy