Blaze 3.9
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
39namespace blaze {
40
41//=================================================================================================
42//
43// CLASS DEFINITION
44//
45//=================================================================================================
46
47//*************************************************************************************************
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//*************************************************************************************************
78template< typename Type >
79inline void NoDelete::operator()( const Type& /*ptr*/ ) const
80{}
81//*************************************************************************************************
82
83} // namespace blaze
84
85#endif
No-delete policy class.
Definition: NoDelete.h:52
void operator()(const Type &ptr) const
Implementation of the no-delete policy.
Definition: NoDelete.h:79