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

◆ operator()()

template<auto... D>
template<typename... Slicers>
requires ( sizeof...(Slicers) <= static_order )
constexpr auto kwk::shape< D >::operator() ( Slicers const &...  s) const
inlineconstexprnoexcept

Shape slicing interface.

Computes the shape of the sub-volume described by the slicers passed as parameters

Does not participate in overload resolution if the number of parameters is not equal to the shape order.

Parameters
sVariadic list of slicer instances
Returns
An instance of kwk::shape corresponding to the shape of the selected sub-volume