All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NonCopyable.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_NONCOPYABLE_H_
36 #define _BLAZE_UTIL_NONCOPYABLE_H_
37 
38 
39 namespace blaze {
40 
41 //=================================================================================================
42 //
43 // CLASS DEFINITION
44 //
45 //=================================================================================================
46 
47 //*************************************************************************************************
64 {
65  protected:
66  //**Constructor and destructor******************************************************************
69  inline NonCopyable() {}
70  inline ~NonCopyable() {}
71 
72  //**********************************************************************************************
73 
74  private:
75  //**Copy constructor and copy assignment operator***********************************************
78  NonCopyable( const NonCopyable& );
79  NonCopyable& operator=( const NonCopyable& );
80 
81  //**********************************************************************************************
82 };
83 //*************************************************************************************************
84 
85 } // namespace blaze
86 
87 #endif
NonCopyable()
Default constructor for the NonCopyable class.
Definition: NonCopyable.h:69
Base class for non-copyable class instances.The NonCopyable class is intended to work as a base class...
Definition: NonCopyable.h:63
NonCopyable & operator=(const NonCopyable &)
Copy assignment operator (private & undefined)
~NonCopyable()
Destructor of the NonCopyable class.
Definition: NonCopyable.h:70