> std::put used
Where is std::put used in the existing standard library? I can't seem to find it. (0 matches on
codesearch.isocpp.org. not found on cppreference)
There's a std::puts inherited from C. The s stands for string and it does something similar to what we're trying to do:
even outputs an implicit newline.
So I was thinking we could propose that:
std::put(1,2,3);
is equivalent to:
std::println("{} {} {}", 1, 2, 3);
and forget about all the other forms.