LLFIO
v2.00
|
True if a type is trivially attachable, or has defined an ADL discovered free function of the form span<byte> in_place_attach<T>(span<byte>)
.
More...
#include "kvstore.hpp"
Static Public Attributes | |
static constexpr bool | value = is_trivially_attachable<T>::value || std::is_same<AttachResultType, span<byte>>::value |
True if a type is trivially attachable, or has defined an ADL discovered free function of the form span<byte> in_place_attach<T>(span<byte>)
.
The most common custom object attachment action is to initialise all pointers and references with something valid for the running C++ program. When in_place_attach<T>
is called, the lifetime of T
has not yet begun, so any vptr etc. will be invalid.