MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / to

Method to

include/stringzilla/stringzilla.hpp:1241–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_>

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected