SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
| 函数 | 变量
maybe.h 文件参考

浏览源代码.

class  Nothing
 
class  Maybe< T >
 Holder that represents an object that can be either present or absent. Quite simllar to std::optional introduced in C++14, but provides a way to pass the reason of absence (e.g. "incorrect parameter"). 更多...
 

函数

template<typename T >
static Maybe< T > Just (const T &value)
 

变量

static const char * NO_REASON_FOR_ABSENCE = "AVAILABLE"
 

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