A helper class that ensures a streambuf and ostream are constructed and destroyed in the correct order. More...
#include <logstream.hxx>
A helper class that ensures a streambuf and ostream are constructed and destroyed in the correct order.
The streambuf must be created before the ostream but bases are constructed before members. Thus, making this class a private base of logstream, declared to the left of ostream, we ensure the correct order of construction and destruction.
Definition at line 216 of file logstream.hxx.