# std::basic_syncbuf<CharT,Traits,Allocator>::get_wrapped

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

Returns a pointer to the wrapped std::basic_streambuf.

## Official Specification Summary (cppreference)

```cpp
streambuf_type* get_wrapped() const noexcept;
```

Returns a pointer to the wrapped `std::basic_streambuf`.

### Parameters

(none)

### Notes

This function is not expected to be called directly: it is called through `std::basic_osyncstream::get_wrapped`.

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`get_wrapped`](https://en.cppreference.com/w/cpp/io/basic_osyncstream/get_wrapped): obtains a pointer to the final destination stream buffer (public member function of `std::basic_osyncstream<CharT,Traits,Allocator>`)

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