SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions | Variables
maybe.h File Reference

Go to the source code of this file.

Classes

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"). More...
 

Functions

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

Variables

static const char * NO_REASON_FOR_ABSENCE = "AVAILABLE"
 

SHOGUN Machine Learning Toolbox - Documentation