19bool stob(
const std::string& s,
bool defaultVal =
false);
27int32_t
stoi(
const std::string& s, int32_t defaultVal = 0);
35float stof(
const std::string& s,
float defaultVal = 1.0f);
43int64_t
stoll(
const std::string& s, int64_t defaultVal = 0);
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14
bool stob(const std::string &s, bool defaultVal=false)
Converts a string to a boolean value.
int64_t stoll(const std::string &s, int64_t defaultVal=0)
Converts a string to a 64-bit signed integer.
int32_t stoi(const std::string &s, int32_t defaultVal=0)
Converts a string to a 32-bit signed integer.
float stof(const std::string &s, float defaultVal=1.0f)
Converts a string to a float.