12 lines
288 B
C++
12 lines
288 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace functions {
|
|
|
|
[[nodiscard]] auto repeat(char ch, int count = 1) -> std::string;
|
|
[[nodiscard]] auto power(int base, int exponent = 2) -> long long;
|
|
[[nodiscard]] auto clamp(int value, int min = 0, int max = 100) -> int;
|
|
|
|
} // namespace functions
|