cxtream  0.5.1
C++17 data pipeline with Python bindings.
cxtream::utility::ndims< T, IsRange > Struct Template Reference

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

#include <cxtream/core/utility/vector.hpp>

Detailed Description

template<typename T, bool IsRange = ranges::Range<T>()>
struct cxtream::utility::ndims< T, 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 vector.hpp.


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