All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NoDelete.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_UTIL_POLICIES_NODELETE_H_
23 #define _BLAZE_UTIL_POLICIES_NODELETE_H_
24 
25 
26 namespace blaze {
27 
28 //=================================================================================================
29 //
30 // CLASS DEFINITION
31 //
32 //=================================================================================================
33 
34 //*************************************************************************************************
38 struct NoDelete
39 {
40  //**Utility functions***************************************************************************
43  template< typename Type >
44  inline void operator()( const Type& ptr ) const;
46  //**********************************************************************************************
47 };
48 //*************************************************************************************************
49 
50 
51 
52 
53 //=================================================================================================
54 //
55 // UTILITY FUNCTIONS
56 //
57 //=================================================================================================
58 
59 //*************************************************************************************************
65 template< typename Type >
66 inline void NoDelete::operator()( const Type& /*ptr*/ ) const
67 {}
68 //*************************************************************************************************
69 
70 } // namespace blaze
71 
72 #endif