nw::string::from
-
template<typename T>
std::optional<T> nw::string::from(StringView str) = delete String conversions to integral and floating pointing types.
Note
Even those tho this function is deleted, see Template Parameters for specilized versions.
- Template Parameters:
T –
bool,int32_t,uint32_t,int64_t,uint64_t,float,double- Parameters:
str – Input string
- Returns:
std::optional<T>