LMMS
Loading...
Searching...
No Matches
zyncarla::m_unique_ptr< T > Class Template Reference

#include <globals.h>

Public Member Functions

 m_unique_ptr ()=default
 m_unique_ptr (m_unique_ptr &&other)
 m_unique_ptr (const m_unique_ptr &other)=delete
 ~m_unique_ptr ()
void resize (unsigned sz)
 operator T* ()
 operator const T * () const

Private Attributes

T * ptr = nullptr

Constructor & Destructor Documentation

◆ m_unique_ptr() [1/3]

template<class T>
zyncarla::m_unique_ptr< T >::m_unique_ptr ( )
default

◆ m_unique_ptr() [2/3]

template<class T>
zyncarla::m_unique_ptr< T >::m_unique_ptr ( m_unique_ptr< T > && other)
inline

◆ m_unique_ptr() [3/3]

template<class T>
zyncarla::m_unique_ptr< T >::m_unique_ptr ( const m_unique_ptr< T > & other)
delete

◆ ~m_unique_ptr()

template<class T>
zyncarla::m_unique_ptr< T >::~m_unique_ptr ( )
inline

Member Function Documentation

◆ operator const T *()

template<class T>
zyncarla::m_unique_ptr< T >::operator const T * ( ) const
inline

◆ operator T*()

template<class T>
zyncarla::m_unique_ptr< T >::operator T* ( )
inline

◆ resize()

template<class T>
void zyncarla::m_unique_ptr< T >::resize ( unsigned sz)
inline

Member Data Documentation

◆ ptr

template<class T>
T* zyncarla::m_unique_ptr< T >::ptr = nullptr
private

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