ZeroErr
载入中...
搜索中...
未找到
zeroerr::ContextScope< F > 模板类 参考

Template implementation of context scope 更多...

#include <log.h>

类 zeroerr::ContextScope< F > 继承关系图:
zeroerr::ContextScope< F > 的协作图:

Public 成员函数

 ContextScope (F f)
 
 ~ContextScope ()
 
virtual void str (std::ostream &os) const override
 Output context information to a stream
 

Protected 属性

f_
 

详细描述

template<typename F>
class zeroerr::ContextScope< F >

Template implementation of context scope

Stores a callable that outputs context information when needed during assertion failure

模板参数
FType of the callable function

构造及析构函数说明

◆ ContextScope()

template<typename F >
zeroerr::ContextScope< F >::ContextScope ( f)
inline

◆ ~ContextScope()

template<typename F >
zeroerr::ContextScope< F >::~ContextScope ( )
inline

成员函数说明

◆ str()

template<typename F >
virtual void zeroerr::ContextScope< F >::str ( std::ostream &  os) const
inlineoverridevirtual

Output context information to a stream

参数
osThe output stream to write context to

实现了 zeroerr::IContextScope.

类成员变量说明

◆ f_

template<typename F >
F zeroerr::ContextScope< F >::f_
protected

该类的文档由以下文件生成: