HiPipe  0.6.0
C++17 data pipeline with Python bindings.
List of all members
hipipe::utility::ndim_container< T, Dims, Container > Struct Template Reference

Fast declaration of a multidimensional container. More...

#include <hipipe/core/utility/ndim.hpp>

Detailed Description

template<typename T, long Dims, template< typename... > typename Container = std::vector>
struct hipipe::utility::ndim_container< T, Dims, Container >

Fast declaration of a multidimensional container.

Example:

ndim_container_t<double, 3> vec_3d;
static_assert(std::is_same<decltype(vec_3d),
std::vector<std::vector<std::vector<double>>>
>{});
ndim_container_t<int, 2, std::list> list_2d;
static_assert(std::is_same<decltype(list_2d),
std::list<std::list<int>>
>{});

Definition at line 95 of file ndim.hpp.


The documentation for this struct was generated from the following file: