A span-like container that skips zero elements when iterating. More...
#include <vector2D.hpp>
Classes | |
class | Iterator |
Public Member Functions | |
skipzero_span (T *begin, T *end, row_size_t size) | |
skipzero_span (std::vector< T > &vec) | |
Iterator | begin () const |
Iterator | end () const |
row_size_t | capacity () const |
row_size_t | size () const |
T * | data () |
const T * | data () const |
T & | front () |
const T & | front () const |
T & | back () |
const T & | back () const |
A span-like container that skips zero elements when iterating.
T | The type of elements in the span (must be arithmetic). |