2 #ifndef _MGCPP_GLOBAL_SHAPE_HPP_ 3 #define _MGCPP_GLOBAL_SHAPE_HPP_ 16 shape(std::initializer_list<size_t> list);
25 template <std::
size_t N>
29 template <
typename... Types>
34 template <
size_t Dims>
36 : std::integral_constant<std::size_t, Dims> {};
38 template <std::
size_t N,
size_t Dims>
39 struct tuple_element<N, mgcpp::
shape<Dims>> {
size_t dims[Dims]
Definition: shape.hpp:11
Definition: adapter_base.hpp:12
shape & operator=(shape const &)=default
size_t operator[](size_t idx) const
std::size_t type
Definition: shape.hpp:40
shape< sizeof...(Types)> make_shape(Types... args)
bool operator==(shape const &rhs) const
bool operator!=(shape const &rhs) const