|
|
|
|
|
by quietbritishjim
652 days ago
|
|
> Yes exactly. Yes exactly, my example would work? > My hunch is to remember that in `auto [to, ec] = std::to_chars(p, last, 42)` the two names `to` and `ec` are not "real" variables/objects, but ... Oh so my example wouldn't work after all (because std::string s is a "real" variable/object)? |
|
In case of structured binding
but in your case its simply: