Comment

Comment by sixthDot

> if (auto [to, ec] = std::to_chars(p, last, 42))

I'm not into plusplus, however i'm curious. How the tuple get evaluated to a condition ? is that lowered to if `to && ec` ?

parent sixthDot 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton