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

◆ fit_constraints()

template<auto... D>
template<auto... D2>
constexpr bool kwk::shape< D >::fit_constraints ( shape< D2... > const ref) const
inlineconstexprnoexcept

Check if a shape fit current's shape constraints on size and dimension.

Parameters
refShape to use as a reference extent
Returns
true if both shape has the same order and if each statically set dimension of ref is matched with an equal value in the current shape.