|
LLFIO v2.00
|
True if a type is trivially detachable, or has defined an ADL discovered free function of the form span<byte> in_place_detach<T>(span<byte>).
More...
#include "kvstore.hpp"
Static Public Attributes | |
| static constexpr bool | value = is_trivially_detachable<T>::value || std::is_same<DetachResultType, span<byte>>::value |
True if a type is trivially detachable, or has defined an ADL discovered free function of the form span<byte> in_place_detach<T>(span<byte>).
The most common custom object detachment action is to reset all pointers and references to all bits zero. When in_place_detach<T> is called, the lifetime of T has ended, so any vptr etc. will be invalid.