MCPcopy Create free account
hub / github.com/boostorg/asio / aligned_delete

Function aligned_delete

include/boost/asio/detail/memory.hpp:141–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141inline void aligned_delete(void* ptr)
142{
143#if defined(BOOST_ASIO_HAS_STD_ALIGNED_ALLOC)
144 std::free(ptr);
145#elif defined(BOOST_ASIO_HAS_BOOST_ALIGN)
146 boost::alignment::aligned_free(ptr);
147#elif defined(BOOST_ASIO_MSVC)
148 _aligned_free(ptr);
149#else // defined(BOOST_ASIO_MSVC)
150 ::operator delete(ptr);
151#endif // defined(BOOST_ASIO_MSVC)
152}
153
154BOOST_ASIO_INLINE_NAMESPACE_END
155} // namespace asio

Callers 4

~thread_info_baseFunction · 0.85
allocateFunction · 0.85
deallocateFunction · 0.85
deallocateMethod · 0.85

Calls 1

operator deleteFunction · 0.85

Tested by

no test coverage detected