MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / append

Method append

extlibs/fmt/include/fmt/format.h:557–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555template <typename T>
556template <typename U>
557void buffer<T>::append(const U* begin, const U* end) {
558 std::size_t new_size = size_ + to_unsigned(end - begin);
559 reserve(new_size);
560 std::uninitialized_copy(begin, end, make_checked(ptr_, capacity_) + size_);
561 size_ = new_size;
562}
563} // namespace internal
564
565// A range with an iterator appending to a buffer.

Callers 14

operator+=Function · 0.45
tagsAsStringMethod · 0.45
convertMethod · 0.45
append_string_viewFunction · 0.45
append_intFunction · 0.45
pad_uintFunction · 0.45
formatMethod · 0.45
reset_colorFunction · 0.45
vformat_toFunction · 0.45
xsputnMethod · 0.45
parseMethod · 0.45

Calls 2

make_checkedFunction · 0.85
reserveFunction · 0.70

Tested by

no test coverage detected