News for hackers. Stuff that matters.
Re:What's new in C++26 (part 1) by ReleaseCandidat on Saturday September 07, 2024 @02:29AM (#41471912)
`ec` is an error code. What happens is a conversion to bool, see `operátor bool()` https://en.cppreference.com/w/cpp/utility/to_chars_result

And no, don't ask mé why somebody might think that a bool is a suitable type to check for success or error.

Re:What's new in C++26 (part 1) by saagarjha on Saturday September 07, 2024 @03:04AM (#41472078)
What is wrong with your keyboard lol
Re:What's new in C++26 (part 1) by ReleaseCandidat on Saturday September 07, 2024 @03:16AM (#41472117)
Autocomplete.