mpusz/wg21-papers

`std::from_chars` should work with `std::string_view`

mpusz opened this issue · 0 comments

mpusz commented
std::from_chars_result from_chars(string_view txt, /*see below*/& value, int base = 10);
std::from_chars_result from_chars(string_view txt, float& value, std::chars_format fmt = std::chars_format::general);
std::from_chars_result from_chars(string_view txt, double& value, std::chars_format fmt = std::chars_format::general);
std::from_chars_result from_chars(string_view txt, long double& value, std::chars_format fmt = std::chars_format::general);