Mark de Wever 7cc72a0a2e Implement syncstream (p0053)
This patch implements `std::basic_syncbuf` and `std::basic_osyncstream` as specified in paper p0053r7. ~~For ease of reviewing I am submitting this patch before submitting a patch for `std::basic_osyncstream`. ~~

~~Please note, this patch is not 100% complete. I plan on adding more tests (see comments), specifically I plan on adding tests for multithreading and synchronization.~~

Edit: I decided that it would be far easier for me to keep track of this and make changes that affect both `std::basic_syncbuf` and `std::basic_osyncstream` if both were in one patch.

The patch was originally written by @zoecarver

Implements
- P0053R7 - C++ Synchronized Buffered Ostream
- LWG-3127 basic_osyncstream::rdbuf needs a const_cast
- LWG-3334 basic_osyncstream move assignment and destruction calls basic_syncbuf::emit() twice
- LWG-3570 basic_osyncstream::emit should be an unformatted output function
- LWG-3867 Should std::basic_osyncstream's move assignment operator be noexcept?

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D67086
2023-11-08 17:45:06 +01:00
..
2023-10-23 10:42:28 +02:00
2023-11-08 17:45:06 +01:00
any
2023-10-31 10:24:44 -04:00
2023-11-08 17:45:06 +01:00
ios
2023-08-31 14:56:42 -04:00
2023-11-08 17:45:06 +01:00
map
2023-11-08 17:45:06 +01:00
2023-07-22 11:28:17 +02:00
2023-06-19 17:04:35 +02:00
2023-05-05 08:39:51 -04:00
2023-11-08 17:45:06 +01:00
2023-05-05 08:39:51 -04:00
2023-11-08 17:45:06 +01:00
2023-09-16 19:54:19 +01:00
2023-05-24 07:51:27 +02:00
2023-05-23 18:44:41 +02:00
2023-11-08 17:45:06 +01:00