SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | Public 成员函数
Unique< T > 模板类 参考

详细描述

template<typename T>
class shogun::Unique< T >

Holds unique pointer that is deleted once this holder is deleted. Its main usage is to hold a pointer to implementation (pimpl idiom):

class Self; Unique<Self> self;

在文件 unique.h15 行定义.

Public 成员函数

 Unique ()
 
 ~Unique ()
 
 Unique (const Unique &)
 
Uniqueoperator= (const Unique &other)
 
T * operator-> () const
 

构造及析构函数说明

Unique ( )

Creates an instance of something unique.

Calls default constructor of type T.

在文件 unique.h23 行定义.

~Unique ( )

在文件 unique.h27 行定义.

Unique ( const Unique< T > &  )

Not implemented copy constructor

成员函数说明

T* operator-> ( ) const

Access underlying unique object as a raw pointer

在文件 unique.h38 行定义.

Unique& operator= ( const Unique< T > &  other)

Not implemented assignment operator


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

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