HiPipe  0.7.0
C++17 data pipeline with Python bindings.
hipipe::utility::ndims< Rng, PrevRng, IsRange > Struct Template Reference

Gets the number of dimensions of a multidimensional range. More...

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

Detailed Description

template<typename Rng, typename PrevRng = void, bool IsRange = ranges::range<Rng>>
struct hipipe::utility::ndims< Rng, PrevRng, IsRange >

Gets the number of dimensions of a multidimensional range.

Example:

std::size_t rng_ndims = ndims<std::vector<std::list<int>>>{};
// rng_ndims == 2;

Definition at line 50 of file ndim.hpp.


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