MCPcopy Create free account
hub / github.com/crownengine/crown / append

Method append

3rdparty/bx/include/tinystl/string.h:201–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200 template<typename allocator>
201 inline void basic_string<allocator>::append(const char* first, const char* last) {
202 const ptrdiff_t newsize = ((m_last - m_first) + (last - first) + 1);
203 if (m_first + newsize > m_capacity)
204 reserve((newsize * 3) / 2);
205
206 for (; first != last; ++m_last, ++first)
207 *m_last = *first;
208 *m_last = 0;
209 }
210
211 template<typename allocator>
212 inline void basic_string<allocator>::assign(const char* sz, size_t n) {

Callers 15

serializeFunction · 0.45
helpFunction · 0.45
expdupFunction · 0.45
LoadConfigFromFileFunction · 0.45
probeMethod · 0.45
probeMethod · 0.45
probeMethod · 0.45
probeMethod · 0.45
probeMethod · 0.45
wasapi.cppFile · 0.45
probeMethod · 0.45
probeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected