1.9
Public Member Functions | Protected Member Functions | List of all members
NonCopyable< T > Class Template Reference

Utility base class to make a derived class non-copy-able. More...

Public Member Functions

 NonCopyable (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&) noexcept=default
 
NonCopyableoperator= (const NonCopyable &)=delete
 
NonCopyableoperator= (NonCopyable &&) noexcept=default
 

Protected Member Functions

 NonCopyable ()=default
 
 ~NonCopyable ()=default
 

Detailed Description

template<class T>
class egt::v1::detail::NonCopyable< T >

Utility base class to make a derived class non-copy-able.

Constructor & Destructor Documentation

◆ NonCopyable() [1/3]

NonCopyable ( const NonCopyable< T > &  )
delete

◆ NonCopyable() [2/3]

NonCopyable ( NonCopyable< T > &&  )
defaultnoexcept

◆ NonCopyable() [3/3]

NonCopyable ( )
protecteddefault

◆ ~NonCopyable()

~NonCopyable ( )
protecteddefault

Member Function Documentation

◆ operator=() [1/2]

NonCopyable& operator= ( const NonCopyable< T > &  )
delete

◆ operator=() [2/2]

NonCopyable& operator= ( NonCopyable< T > &&  )
defaultnoexcept