SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Member Functions
Unique< T > Class Template Reference

Detailed Description

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;

Definition at line 15 of file unique.h.

Public Member Functions

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

Constructor & Destructor Documentation

Unique ( )

Creates an instance of something unique.

Calls default constructor of type T.

Definition at line 23 of file unique.h.

~Unique ( )

Definition at line 27 of file unique.h.

Unique ( const Unique< T > &  )

Not implemented copy constructor

Member Function Documentation

T* operator-> ( ) const

Access underlying unique object as a raw pointer

Definition at line 38 of file unique.h.

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

Not implemented assignment operator

The documentation for this class was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation