Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
blaze
util
policies
Deallocate.h
Go to the documentation of this file.
1
//=================================================================================================
20
//=================================================================================================
21
22
#ifndef _BLAZE_UTIL_POLICIES_DEALLOCATE_H_
23
#define _BLAZE_UTIL_POLICIES_DEALLOCATE_H_
24
25
26
//*************************************************************************************************
27
// Includes
28
//*************************************************************************************************
29
30
#include <
blaze/util/Memory.h
>
31
32
33
namespace
blaze {
34
35
//=================================================================================================
36
//
37
// CLASS DEFINITION
38
//
39
//=================================================================================================
40
41
//*************************************************************************************************
51
struct
Deallocate
52
{
53
//**Utility functions***************************************************************************
56
template
<
typename
Type >
57
inline
void
operator()
( Type ptr )
const
;
59
//**********************************************************************************************
60
};
61
//*************************************************************************************************
62
63
64
65
66
//=================================================================================================
67
//
68
// UTILITY FUNCTIONS
69
//
70
//=================================================================================================
71
72
//*************************************************************************************************
83
template
<
typename
Type >
84
inline
void
Deallocate::operator()
( Type ptr )
const
85
{
86
deallocate
( ptr );
87
}
88
//*************************************************************************************************
89
90
}
// namespace blaze
91
92
#endif
Generated on Fri May 24 2013 16:39:57 by
1.8.3.1