Go to the documentation of this file.
5 #ifndef UAVCAN_UTIL_PLACEMENT_NEW_HPP_INCLUDED
6 #define UAVCAN_UTIL_PLACEMENT_NEW_HPP_INCLUDED
16 #ifndef UAVCAN_IMPLEMENT_PLACEMENT_NEW
17 # error UAVCAN_IMPLEMENT_PLACEMENT_NEW
20 #if UAVCAN_IMPLEMENT_PLACEMENT_NEW
22 inline void*
operator new (
std::size_t,
void* ptr)
throw()
26 inline void*
operator new[](
std::size_t,
void* ptr)
throw()
31 inline void operator delete (
void*,
void*)
throw() { }
32 inline void operator delete[](
void*,
void*)
throw() { }
38 #endif // UAVCAN_UTIL_PLACEMENT_NEW_HPP_INCLUDED