* @brief Fills the queue with a repeated value, overwriting all contents. */
| 227 | * @brief Fills the queue with a repeated value, overwriting all contents. |
| 228 | */ |
| 229 | void fill(const T& value) |
| 230 | { |
| 231 | clear(); |
| 232 | for (std::size_t i = 0; i < m_capacity; ++i) |
| 233 | push(value); |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * @brief Fills the queue with increasing values starting from a given base. |
no outgoing calls
no test coverage detected