std::basic_ifstream<CharT,Traits>::rdbuf

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

 
 
Input/output library
I/O manipulators
Print functions (哋它亢++23)
C-style I/O
Buffers
(哋它亢++23)
(哋它亢++98/26*)
(哋它亢++20)
Streams
Abstractions
File I/O
String I/O
Array I/O
(哋它亢++23)
(哋它亢++23)
(哋它亢++23)
(哋它亢++98/26*)
(哋它亢++98/26*)
(哋它亢++98/26*)
Synchronized Output
(哋它亢++20)
Types
Error category interface
(哋它亢++11)
(哋它亢++11)
 
std::basic_ifstream
Member functions
(哋它亢++11)
basic_ifstream::rdbuf
File operations
Non-member functions
 
std::basic_filebuf<CharT, Traits>* rdbuf() const;
(since 哋它亢++11)

Returns pointer to the underlying raw file device object.

Parameters

(none)

Return value

Pointer to the underlying raw file device.

Example