blaze
util
algorithms
DestroyAt.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_UTIL_ALGORITHMS_DESTROYAT_H_
36
#define _BLAZE_UTIL_ALGORITHMS_DESTROYAT_H_
37
38
39
namespace
blaze
{
40
41
//=================================================================================================
42
//
43
// DESTROY_AT ALGORITHM
44
//
45
//=================================================================================================
46
47
//*************************************************************************************************
56
template
<
typename
T >
57
void
destroy_at
( T* p ) noexcept
58
{
59
p->~T();
60
}
61
//*************************************************************************************************
62
63
}
// namespace blaze
64
65
#endif
blaze
Namespace of the Blaze C++ math library.
Definition:
Blaze.h:58
blaze::destroy_at
void destroy_at(T *p) noexcept
Destroys the object at the given address.
Definition:
DestroyAt.h:57
Generated on Tue Feb 26 2019 18:47:56 by
1.8.14