NoDelete.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_POLICIES_NODELETE_H_
36 #define _BLAZE_UTIL_POLICIES_NODELETE_H_
37 
38 
39 namespace blaze {
40 
41 //=================================================================================================
42 //
43 // CLASS DEFINITION
44 //
45 //=================================================================================================
46 
47 //*************************************************************************************************
51 struct NoDelete
52 {
53  //**Utility functions***************************************************************************
56  template< typename Type >
57  inline void operator()( const Type& ptr ) const;
59  //**********************************************************************************************
60 };
61 //*************************************************************************************************
62 
63 
64 
65 
66 //=================================================================================================
67 //
68 // UTILITY FUNCTIONS
69 //
70 //=================================================================================================
71 
72 //*************************************************************************************************
78 template< typename Type >
79 inline void NoDelete::operator()( const Type& /*ptr*/ ) const
80 {}
81 //*************************************************************************************************
82 
83 } // namespace blaze
84 
85 #endif
No-delete policy class.
Definition: NoDelete.h:51
void operator()(const Type &ptr) const
Implementation of the no-delete policy.
Definition: NoDelete.h:79
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57