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

Method to

include/stringzilla/stringzilla.hpp:966–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964 /** @brief Copies the matches into a container. */
965 template <typename container_>
966 void to(container_ &container) {
967 for (auto match : *this) container.push_back(match);
968 }
969
970 /** @brief Copies the matches into a consumed container, returning it at the end. */
971 template <typename container_>

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected