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

Method append

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

Source from the content-addressed store, hash-verified

189
190template<class InputIt>
191void
192string::
193append(
194 InputIt first,
195 InputIt last,
196 std::random_access_iterator_tag)
197{
198
199 auto const n = static_cast<
200 size_type>(last - first);
201 char* out = impl_.append(n, sp_);
202#if defined(_MSC_VER) && _MSC_VER <= 1900
203 while( first != last )
204 *out++ = *first++;
205#else
206 std::copy(first, last, out);
207#endif
208}
209
210template<class InputIt>
211void

Callers

nothing calls this directly

Calls 3

appendMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected