Namespaces
Variants
Views
Actions

Talk:cpp/string/basic string/stof

From cppreference.com

Why do we still see 0 for nullptr? Alexis Wilke 10:07, 30 June 2021 (PDT)

Fixed, thank you.--Space Mission (talk) 11:50, 30 June 2021 (PDT)

Any idea why these don't exist for string_view? The strtof examples cannot be done efficiently with string but they could with string_view. 194.74.130.171 05:40, 5 July 2021 (PDT)

I actually think taking an std::string by value would be optimal, due to small string optimisation (15 chars in stdlibc++, 23 in libc++), which I think would account for almost all numeric arguments. Oh well --Ybab321 (talk) 06:24, 5 July 2021 (PDT)