4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::io::basic_scoped_rdbuf< Ch, Traits > Class Template Reference

Detailed Description

template<typename Ch, typename Traits = std::char_traits<Ch>>
class fcppt::io::basic_scoped_rdbuf< Ch, Traits >

Changes the streambuf of a stream temporarily.

Public Types

using stream_type = std::basic_ios<Ch, Traits>
 
using streambuf_type = std::basic_streambuf<Ch, Traits>
 

Public Member Functions

 basic_scoped_rdbuf (fcppt::reference< stream_type >, fcppt::reference< streambuf_type >)
 
 ~basic_scoped_rdbuf ()
 

Member Typedef Documentation

◆ stream_type

template<typename Ch , typename Traits = std::char_traits<Ch>>
using fcppt::io::basic_scoped_rdbuf< Ch, Traits >::stream_type = std::basic_ios<Ch, Traits>

◆ streambuf_type

template<typename Ch , typename Traits = std::char_traits<Ch>>
using fcppt::io::basic_scoped_rdbuf< Ch, Traits >::streambuf_type = std::basic_streambuf<Ch, Traits>

Constructor & Destructor Documentation

◆ basic_scoped_rdbuf()

template<typename Ch , typename Traits = std::char_traits<Ch>>
fcppt::io::basic_scoped_rdbuf< Ch, Traits >::basic_scoped_rdbuf ( fcppt::reference< stream_type > ,
fcppt::reference< streambuf_type >  )

◆ ~basic_scoped_rdbuf()

template<typename Ch , typename Traits = std::char_traits<Ch>>
fcppt::io::basic_scoped_rdbuf< Ch, Traits >::~basic_scoped_rdbuf ( )