Defined in carb/settings/SettingsUtils.h

inline void carb::settings::setStringArray(ISettings *settings, const char *path, const std::vector<std::string> &array)

A helper function for setting a std::vector<bool> as an array of strings.


array is first converted to an array of const char* on the stack and then passed in to ISettings::setStringArray. If the stack is particularly small and array is particularly large, stack space may be exceeded. In this case, it is advised to call ISettings::setStringArray directly.

  • settings – The acquired ISettings interface.

  • path – The setting key path. See ISettings::setStringArray for details.

  • array – A vector containing the bool values for the setting value.