Function next

Synopsis

#include <include/internal/catch_generators_generic.hpp>

bool next() override

Description

No description yet.

Source

Lines 167-173 in include/internal/catch_generators_generic.hpp.

bool next() override {
    const auto success = m_generator.next();
    if (success) {
        m_cache = m_function(m_generator.get());
    }
    return success;
}





Add Discussion as Guest

Log in