HomeManualTopicsTypesSymbols

std::next

starts the next "iteration" of a "loop"

Description

All "loops" redefine this function to call the next "iteration" of the loop.

next should always be called in tail position!

Topic

Loops

See also

std::break cancels the current "loop"
std::loop a simple "loop"