etl::basic_inplace_string class template
More...
|
template<size_t Capacity> |
constexpr auto | stod (inplace_string< Capacity > const &str, size_t *pos=nullptr) -> double |
| Interprets a floating point value in a string str.
|
|
template<size_t Capacity> |
constexpr auto | stof (inplace_string< Capacity > const &str, size_t *pos=nullptr) -> float |
| Interprets a floating point value in a string str.
|
|
template<size_t Capacity> |
constexpr auto | stold (inplace_string< Capacity > const &str, size_t *pos=nullptr) -> long double |
| Interprets a floating point value in a string str.
|
|
etl::basic_inplace_string class template
◆ stod()
Interprets a floating point value in a string str.
- Parameters
-
str | The string to convert. |
pos | Pointer to integer to store the number of characters used. |
- Returns
- The string converted to the specified floating point type.
◆ stof()
Interprets a floating point value in a string str.
- Parameters
-
str | The string to convert. |
pos | Pointer to integer to store the number of characters used. |
- Returns
- The string converted to the specified floating point type.
◆ stold()
Interprets a floating point value in a string str.
- Parameters
-
str | The string to convert. |
pos | Pointer to integer to store the number of characters used. |
- Returns
- The string converted to the specified floating point type.