Namespaces
Variants
Actions

Talk:cpp/io/basic ostream/basic ostream

From cppreference.com

Example not working, looks like basic_ostream don't have move ctor in libstdc++ library. Same here

Yes, GNU libstdc++ didn't implement this part of C++ yet (see for example bug 53626). It was tested with libc++. --Cubbi 08:24, 28 August 2013 (PDT)

[edit] Null?

Is it UB to write to it if it's constructed with nullptr or does that become a NOP? BenFrantzDale (talk) 12:26, 19 November 2021 (PST)

good question; it is well defined and no-op, but figuring that out is not trivial; see https://stackoverflow.com/a/25690637/273767 - I think we should make a note --Cubbi (talk) 18:31, 20 November 2021 (PST)