libfswatch  1.9.3
Functions
fsw::string_utils Namespace Reference

This namespace contains string manipulation functions. More...

Functions

string vstring_from_format (const char *format, va_list args)
 Create a std::string using a printf() format and a va_list args. More...
 
string string_from_format (const char *format,...)
 Create a std::string using a printf() format and varargs. More...
 

Detailed Description

This namespace contains string manipulation functions.

Function Documentation

std::string fsw::string_utils::string_from_format ( const char *  format,
  ... 
)

Create a std::string using a printf() format and varargs.

Parameters
formatThe printf() format.
...The arguments to format.
std::string fsw::string_utils::vstring_from_format ( const char *  format,
va_list  args 
)

Create a std::string using a printf() format and a va_list args.

Parameters
formatThe printf() format.
argsThe arguments to format.