SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | Public 成员函数 | Public 属性
Nothing类 参考

详细描述

Represents non-typed absent value.

Can be casted to any

参见
Maybe<T> resulting in Maybe with absent value.

Contains reason for absence as a regular C string.

在文件 maybe.h21 行定义.

Public 成员函数

 Nothing (const char *reason="no specific reason")
 
 Nothing (const Nothing &other)
 

Public 属性

const char * m_absence_reason
 

构造及析构函数说明

Nothing ( const char *  reason = "no specific reason")

Createst an instance of nothing aka absent value.

参数
reasonthe reason something is absent

在文件 maybe.h28 行定义.

Nothing ( const Nothing other)

Copies nothing from nothing, inheriting absence reason.

参数
otherother instance of nothing

在文件 maybe.h36 行定义.

类成员变量说明

const char* m_absence_reason

Represents a reason why something is absent. Memory is not managed.

在文件 maybe.h43 行定义.


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

SHOGUN 机器学习工具包 - 项目文档