* \note arguments may be evaluated more than once, be careful
* of side-effects
*/
- SBuf& Printf(const char *fmt, ...);
+ SBuf& Printf(const char *fmt, ...) PRINTF_FORMAT_ARG2;
/** Append operation with printf-style arguments
* \note arguments may be evaluated more than once, be careful
* of side-effects
*/
- SBuf& appendf(const char *fmt, ...);
+ SBuf& appendf(const char *fmt, ...) PRINTF_FORMAT_ARG2;
/** Append operation, with vsprintf(3)-style arguments.
* \note arguments may be evaluated more than once, be careful