|
Namespaces |
| namespace | stringf |
Defines |
| #define | ATTR_PRINTF(string, first) |
| #define | PFSTR(str) (int)(str).size(), (str).data() |
| | Pass a string to a printf-like function for a .*s argument.
|
Functions |
| int | addf (std::string &str, const char *fmt,...) ATTR_PRINTF(2 throw () |
| | Format the printf-style arguments and add the result to `str'.
|
| int std::string | fmt (const char *fmt,...) ATTR_PRINTF(1 throw () |
| | Format the printf-style arguments and return the result as a string.
|
| int std::string std::string | fmt (int val) throw () |
| std::string | fmt (unsigned int val) throw () |
| std::string | fmt (long int val) throw () |
| std::string | fmt (long unsigned int val) throw () |
| std::string | fmt (const std::string &str) throw () |