MCPcopy Create free account
hub / github.com/Icinga/icinga2 / Next

Method Next

lib/base/generator.hpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 std::optional<Value> Next() override
76 {
77 if (m_It == m_End) {
78 return std::nullopt;
79 }
80
81 auto next = m_Func(*m_It);
82 ++m_It;
83 return next;
84 }
85
86private:
87 using Iterator = typename Container::iterator;

Callers 1

EncodeValueGeneratorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected