ROSE 0.11.145.147
Public Member Functions | List of all members
Rose::Diagnostics::StreamPrintf Class Reference

Description

Intermediate class for printing to C++ ostreams with a printf-like API.

Users seldom declare objects of this type directly, but rather use the Rose::Diagnostics::mfprintf function or the mprintf macro.

See also
Rose::Diagnostics::mfprintf

Definition at line 363 of file Diagnostics.h.

#include <Rose/Diagnostics.h>

Public Member Functions

 StreamPrintf (std::ostream &stream)
 
int operator() (const char *fmt,...) __attribute__((format(printf
 

Constructor & Destructor Documentation

◆ StreamPrintf()

Rose::Diagnostics::StreamPrintf::StreamPrintf ( std::ostream &  stream)
inline

Definition at line 366 of file Diagnostics.h.


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