|
Console Library 8.0.0
A header-only library that makes C++ simple
|
调试适配器(用于管道操作符)。 More...
#include <gextra.h>
Public Member Functions | |
| debug_t (std::string msg="DEBUG: ", std::ostream &os=std::cout) | |
| 构造函数。 | |
Private Attributes | |
| std::string | message |
| std::ostream & | out |
Friends | |
| template<class Gen> | |
| Debug< Gen > | operator| (Gen g, debug_t d) |
| 管道操作符,创建调试生成器。 | |
调试适配器(用于管道操作符)。
|
inlineexplicit |
构造函数。
| msg | 调试消息前缀,默认为"DEBUG: "。 |
| os | 输出流,默认为std::cout。 |
|
private |
|
private |