| 190 | } |
| 191 | |
| 192 | inline std::string repeat(std::string const &patten, std::size_t count) noexcept(false) { |
| 193 | std::string result(patten.size() * count, '\0'); |
| 194 | for (std::size_t i = 0; i < count; ++i) std::copy(patten.begin(), patten.end(), result.begin() + i * patten.size()); |
| 195 | return result; |
| 196 | } |
| 197 | |
| 198 | /** |
| 199 | * @brief Randomly slices a string into consecutive parts and passes those to @p slice_callback. |
no test coverage detected
searching dependent graphs…