##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::basic_ostringstream::rdbuf

From cppreference.com
< cpp‎ | io‎ | basic ostringstream

[edit template]

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

Returns pointer to the underlying raw string device object.

### [edit] Parameters

(none)

### [edit] Return value

Pointer to the underlying raw string device.

### [edit] Example

| This section is incomplete Reason: no example

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_ostringstream/rdbuf&oldid=50857"
Category:

- Todo no example