# std::basic_osyncstream<CharT,Traits,Allocator>::~basic_osyncstream

> C++ Atlas: `cppatlas.com/w/cpp/io/basic_osyncstream/~basic_osyncstream` | Source: https://en.cppreference.com/w/cpp/io/basic_osyncstream/~basic_osyncstream | Domain: Input/output

Destroys a synchronized output stream.

## Official Specification Summary (cppreference)

```cpp
~basic_osyncstream();
```

Destroys a synchronized output stream.

The destruction of the member `std::basic_syncbuf` will emit any buffered output not yet emitted.

### Parameters

(none)

### Example

> Note: This section is incomplete Reason: no example

### See also

- [(destructor)](https://en.cppreference.com/w/cpp/io/basic_syncbuf/~basic_syncbuf): destroys the `basic_syncbuf` and emits its internal buffer (public member function of `std::basic_syncbuf<CharT,Traits,Allocator>`)

---
Attribution: content from https://en.cppreference.com/w/cpp/io/basic_osyncstream/~basic_osyncstream (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.