Namespaces
Variants
Actions

Talk:cpp/io/basic ostream/operator ltlt2

From cppreference.com

For all these deleted overloads, would it be acceptable to replace all the return types with auto? I don't think the return types could possibly matter, and it would be nice if those declarations didn't need to wrap --Ybab321 (talk) 05:02, 8 November 2021 (PST)

it's not the worst wrapping we have, and with 'auto' I am sure someone will come back to re-edit it like in the spec. Maybe just reflow to move the return type to its own line, like
template< class Traits >

basic_ostream<char,Traits>&

  operator<<( basic_ostream<char,Traits>& os, wchar_t ch ) = delete;

--Cubbi (talk) 07:42, 8 November 2021 (PST)

Image for comparison. I know we have lots of wrapping anyway, that can't be helped; but with the deleted stuff in particular, the return type is just noise. I see your point about the likelihood of someone reverting the change though --Ybab321 (talk) 08:29, 8 November 2021 (PST)