| 1239 | /** @brief Copies the lines into a container. */ |
| 1240 | template <typename container_> |
| 1241 | void to(container_ &container) { |
| 1242 | for (auto line : *this) container.push_back(line); |
| 1243 | } |
| 1244 | |
| 1245 | /** @brief Copies the lines into a consumed container, returning it at the end. */ |
| 1246 | template <typename container_> |