paludis Version 3.0.2
The one true package mangler
paludis::StreamHolder< Stream_ > Class Template Reference

#include <stream_holder.hh>

Basic operations

template<typename... Args_>
 StreamHolder (Args_ &&... args)

Formatted output

template<typename T_>
StreamHolder< Stream_ > & operator<< (T_ &&rhs)
ostream_type & operator<< (ostream_type &(*rhs)(ostream_type &))
ostream_type & operator<< (ios_type &(*rhs)(ios_type &))
ostream_type & operator<< (std::ios_base &(*rhs)(std::ios_base &))

Conversions

bool operator! () const
 operator bool () const
 operator Stream_ & ()
 operator Stream_ * ()

Detailed Description

template<typename Stream_>
class paludis::StreamHolder< Stream_ >

Holder for a stream so the destructor can throw.

Member Function Documentation

◆ operator<<() [1/3]

template<typename Stream_>
ostream_type & paludis::StreamHolder< Stream_ >::operator<< ( ios_type &(* rhs )(ios_type &))
inline

Overload for stream manipulators (std::endl, std::flush, etc.)

see 27.7.3.6.3

◆ operator<<() [2/3]

template<typename Stream_>
ostream_type & paludis::StreamHolder< Stream_ >::operator<< ( ostream_type &(* rhs )(ostream_type &))
inline

Overload for stream manipulators (std::endl, std::flush, etc.)

see 27.7.3.6.3

◆ operator<<() [3/3]

template<typename Stream_>
ostream_type & paludis::StreamHolder< Stream_ >::operator<< ( std::ios_base &(* rhs )(std::ios_base &))
inline

Overload for stream manipulators (std::endl, std::flush, etc.)

see 27.7.3.6.3


The documentation for this class was generated from the following file: