std::basic_ofstream::rdbuf - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::basic_ofstream::rdbuf

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

[edit template]

std::basic_filebuf<CharT, Traits>* rdbuf() const; |  | (since C++11)

Returns pointer to the underlying raw file device object.

### [edit] Parameters

(none)

### [edit] Return value

Pointer to the underlying raw file device.

### [edit] Example

| This section is incomplete Reason: no example

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

- Todo no example