std::basic_ios::set_rdbuf
From cppreference.com
                    
                                        
                    
                    
                                                            
                    |   void set_rdbuf( std::basic_streambuf<CharT,Traits>* sb );  | 
||
Sets the associated stream buffer to sb without clearing its error state.
Contents | 
[edit] Parameters
| sb | - | stream buffer to associate to | 
[edit] Return value
(none)
[edit] Exceptions
(none)
[edit] Example
| This section is incomplete Reason: no example  | 
[edit] See also
|    manages associated stream buffer  (public member function)  | |