MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / is_empty_iterator

Method is_empty_iterator

source/matplot/util/common.h:639–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637 std::size_t _col_offset;
638
639 static bool is_empty_iterator(const iterator &it) {
640 return it._vec == nullptr;
641 }
642 static bool is_end_iterator(const iterator &it) {
643 return is_empty_iterator(it) ||
644 it._row_offset * it._col_offset >= it._vec->size();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected