|
ZeroErr
|
ContextScope is a helper class created in each basic block where you use INFO(). The context scope can has lazy evaluated function F(std::ostream&) that is called when the assertation is failed 更多...
#include <log.h>
Public 成员函数 | |
| virtual void | str (std::ostream &os) const =0 |
| Output context information to a stream | |
ContextScope is a helper class created in each basic block where you use INFO(). The context scope can has lazy evaluated function F(std::ostream&) that is called when the assertation is failed
|
pure virtual |
Output context information to a stream
| os | The output stream to write context to |
在 zeroerr::ContextScope< F > 内被实现.