Function sprintf

Synopsis

#include <include/EASTL/string.h>

this_type & sprintf(const value_type *pFormat,...)

Description

No description yet.

Mentioned in

Source

Lines 3129-3139 in include/EASTL/string.h. Line 746 in include/EASTL/string.h.

template <typename T, typename Allocator>
inline basic_string<T, Allocator>& basic_string<T, Allocator>::sprintf(const value_type* pFormat, ...)
{
    va_list arguments;
    va_start(arguments, pFormat);
    internalLayout().SetSize(0); // Fast truncate to zero length.
    append_sprintf_va_list(pFormat, arguments);
    va_end(arguments);
    return *this;
}





Add Discussion as Guest

Log in