MCPcopy Create free account
hub / github.com/cvanaret/Uno / iterator

Method iterator

uno/symbolic/VectorExpression.hpp:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 using value_type = std::pair<size_t, double>;
16
17 iterator(const VectorExpression& expression, size_t index): expression(expression), index(index) { }
18
19 [[nodiscard]] std::pair<size_t, double> operator*() const {
20 const auto [_, expression_index] = expression.indices.dereference_iterator(this->index);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected