iterative-solver 0.0
 
Loading...
Searching...
No Matches
molpro::linalg::itsolv::util::StreamFormatGuard Class Reference

Restores the format flags and precision of a stream when it goes out of scope. More...

#include <util.h>

Detailed Description

Restores the format flags and precision of a stream when it goes out of scope.

Public Member Functions

 StreamFormatGuard (std::ostream &stream)
 
 ~StreamFormatGuard ()
 
 StreamFormatGuard (const StreamFormatGuard &)=delete
 
StreamFormatGuard & operator= (const StreamFormatGuard &)=delete
 

Constructor & Destructor Documentation

◆ StreamFormatGuard() [1/2]

molpro::linalg::itsolv::util::StreamFormatGuard::StreamFormatGuard ( std::ostream &  stream)
inlineexplicit

◆ ~StreamFormatGuard()

molpro::linalg::itsolv::util::StreamFormatGuard::~StreamFormatGuard ( )
inline

◆ StreamFormatGuard() [2/2]

molpro::linalg::itsolv::util::StreamFormatGuard::StreamFormatGuard ( const StreamFormatGuard &  )
delete

Member Function Documentation

◆ operator=()

StreamFormatGuard & molpro::linalg::itsolv::util::StreamFormatGuard::operator= ( const StreamFormatGuard &  )
delete