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

Method to

include/stringzilla/stringzilla.hpp:1126–1128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1124 /** @brief Copies the characters into a container. */
1125 template <typename container_>
1126 void to(container_ &container) {
1127 for (auto ch : *this) container.push_back(ch);
1128 }
1129
1130 /** @brief Copies the characters into a consumed container, returning it at the end. */
1131 template <typename container_>

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected