fswatch 1.21.0
Loading...
Searching...
No Matches
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.
 
string string_from_format (const char *format,...)
 Create a std::string using a printf() format and varargs.
 

Detailed Description

This namespace contains string manipulation functions.

Function Documentation

◆ string_from_format()

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.

◆ vstring_from_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.