libcosmos
Linux C++ System Programming Library
|
Helper for iterating twice over a for loop. More...
#include <utils.hxx>
Helper for iterating twice over a for loop.
Sometimes there is a need to execute a for loop just twice. For increasing readability this iterator helper type can be used like this: