# std::basic_stringstream::rdbuf

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

Returns pointer to the underlying raw string device object.

## Official Specification Summary (cppreference)

```cpp
std::basic_stringbuf<CharT, Traits, Allocator>* rdbuf() const;
```

Returns pointer to the underlying raw string device object.

### Parameters

(none)

### Return value

Pointer to the underlying raw string device.

### Example

> Note: This section is incomplete Reason: no example

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