Template Function apex::stol

Function Documentation

template<::size64_t STRING_BUFFER_SIZE>
inline ::int32_t apex::stol(const apex::BaseString<STRING_BUFFER_SIZE> &str) noexcept

Convert a string to a 32-bit integer. The function internally uses strtol standard call.

Parameters

str[in] is input string value

Returns

return 32-bit integer value corresponding to the string value. See strtol specs. Valid range is [INT32_MIN..INT32_MAX]