Kiwaku 0.1-beta
Containers Well Made
 
Loading...
Searching...
No Matches
kwk::concepts::slicer Concept Reference

slicer specifier concept More...

#include <kwk/concepts/slicer.hpp>

Detailed Description

slicer specifier concept

A KIWAKU Slicer is a type which instances can be used to compute a sub-volume of a container.

Concept definition

template<typename S>
concept kwk::concepts::slicer = requires(S const& s)
{
{ origin (shape<_>{} , s) };
{ reindex (shape<_>{} , s, kumi::index<0>) };
{ reshape (shape<_>{} , s, kumi::index<0>) };
{ restride(stride<_>{}, s, kumi::index<0>) };
}
slicer specifier concept
Definition slicer.hpp:29
constexpr auto fixed
Provides a short-cut to define a std::integral_constant value from a literal integer.
Definition fixed.hpp:107
Fixed order shape with mixed size capability.
Definition shape.hpp:78