SuperTuxKart
|
Intermediate struct to fill a vector using variadic templates. More...
#include <string_utils.hpp>
Static Public Member Functions | |
template<typename T , typename... Args> | |
static void | FillS (std::vector< std::string > &all_vals, T &&v, Args &&...args) |
FillS takes a vector as the first argument and a variadic list of arguments. | |
static void | FillS (std::vector< std::string > &) |
template<typename T , typename... Args> | |
static void | FillW (std::vector< irr::core::stringw > &all_vals, T &&v, Args &&...args) |
This functions does the same as FillS but for wide strings. | |
static void | FillW (std::vector< irr::core::stringw > &) |
Intermediate struct to fill a vector using variadic templates.
|
inlinestatic |
FillS takes a vector as the first argument and a variadic list of arguments.
The arguments are recursively inserted into the vector which will contain all the arguments converted to strings in the end.