HART  0.2.0
High level Audio Regression and Testing
Loading...
Searching...
No Matches
nth Struct Reference

Returns the nth element in the range (zero-based) More...

#include <hart_reducers.hpp>

Public Member Functions

 nth (size_t targetIndex)
 
template<typename IteratorType >
IteratedValueType< IteratorType > operator() (IteratorType begin, IteratorType end) const
 

Detailed Description

Returns the nth element in the range (zero-based)

Exceptions
hart::IndexErrorif targetIndex is out of range
hart::SizeErroris the range (or container) is empty

Definition at line 234 of file hart_reducers.hpp.

Constructor & Destructor Documentation

◆ nth()

nth ( size_t  targetIndex)
inline

Definition at line 236 of file hart_reducers.hpp.

Member Function Documentation

◆ operator()()

template<typename IteratorType >
IteratedValueType< IteratorType > operator() ( IteratorType  begin,
IteratorType  end 
) const
inline

Definition at line 240 of file hart_reducers.hpp.


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