#include "xprintf.h"
#include <memory>
#include <stdarg.h>
Go to the source code of this file.
|
std::string | _xprintf_ap (char const *fmt_str, va_list ap) |
| printf-style formatting for std::string (internal). Use the xprintf macro instead of using this function directly More...
|
|
std::string | _xprintf_b (char const *fmt_str, int marker,...) |
| printf-style formatting for std::string. Use the xprintf macro instead of using this function directly More...
|
|
std::string | _xprintf_b (std::string const &fmt_str, int marker,...) |
| printf-style formatting for std::string. Use the xprintf macro instead of using this function directly More...
|
|
◆ XPRINT_FAST_BUFFER_SIZE
#define XPRINT_FAST_BUFFER_SIZE 256 |
◆ _xprintf_ap()
std::string _xprintf_ap |
( |
char const * |
fmt_str, |
|
|
va_list |
ap |
|
) |
| |
|
inline |
printf-style formatting for std::string (internal). Use the xprintf macro instead of using this function directly
- Parameters
-
fmt_str | The printf-style format string |
ap | The variadic arguments, properly initialized with va_start. The function will call va_end on this argument before exiting. |
Definition at line 75 of file xprintf.cpp.
◆ _xprintf_b() [1/2]
std::string _xprintf_b |
( |
char const * |
fmt_str, |
|
|
int |
marker, |
|
|
|
... |
|
) |
| |
printf-style formatting for std::string. Use the xprintf macro instead of using this function directly
- Parameters
-
fmt_str | The printf-style format string |
Definition at line 110 of file xprintf.cpp.
◆ _xprintf_b() [2/2]
std::string _xprintf_b |
( |
std::string const & |
fmt_str, |
|
|
int |
marker, |
|
|
|
... |
|
) |
| |
printf-style formatting for std::string. Use the xprintf macro instead of using this function directly
- Parameters
-
fmt_str | The printf-style format string |
Definition at line 120 of file xprintf.cpp.