SuperTuxKart
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
StringUtils::FillStringVector Struct Reference

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 > &)
 

Detailed Description

Intermediate struct to fill a vector using variadic templates.

Member Function Documentation

◆ FillS()

template<typename T , typename... Args>
static void StringUtils::FillStringVector::FillS ( std::vector< std::string > &  all_vals,
T &&  v,
Args &&...  args 
)
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.


The documentation for this struct was generated from the following file: