MCPcopy Create free account
hub / github.com/boostorg/json / assign

Method assign

include/boost/json/impl/string.hpp:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155
156template<class InputIt>
157void
158string::
159assign(
160 InputIt first,
161 InputIt last,
162 std::random_access_iterator_tag)
163{
164 auto dest = impl_.assign(static_cast<
165 size_type>(last - first), sp_);
166 while(first != last)
167 *dest++ = *first++;
168}
169
170template<class InputIt>
171void

Callers

nothing calls this directly

Calls 2

termMethod · 0.80
destroyMethod · 0.80

Tested by

no test coverage detected