#pragma once
|
|
#include <stddef.h>
|
|
|
|
namespace gp{
|
|
template <typename F>
|
|
void repeat(size_t n, F f) {
|
|
while (n--) f();
|
|
}
|
|
}
|