HiPipe  0.6.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 47 of file ndim.hpp.


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