|
| template<class T, typename = decltype(detach_cast(std::declval<T>()))> |
| constexpr auto | quickcpplib::_xxx::in_place_attach_detach::in_place_detach (quickcpplib::_xxx::span::span< T > objects, detail::default_cast_operator_overload={}) noexcept |
| | An ADL customisation point for the in-place detachment of an array of live T objects into an array of bytes representing their detached object representations. This overload is available if detach_cast() is available for T.
|
| template<class T, typename = decltype(attach_cast<T>(std::declval< quickcpplib::_xxx::detach_cast::byte_array_reference<T>>()))> |
| constexpr quickcpplib::_xxx::span::span< T > | quickcpplib::_xxx::in_place_attach_detach::in_place_attach (quickcpplib::_xxx::span::span< quickcpplib::_xxx::byte::byte > bytearray, detail::default_cast_operator_overload={}) noexcept |
| | An ADL customisation point for the in-place attachment of previously detached object representations, back into an array of live T objects. This overload is available if attach_cast() is available for T.
|
| template<class T, typename std::enable_if<(!detail::is_bit_cast_valid< T, detail::byte_array_wrapper< T > >() &&!traits::enable_reinterpret_attach_cast< typename std::decay< T >::type >::value), bool >::type = true> |
| QUICKCPPLIB_NODISCARD constexpr T & | quickcpplib::_xxx::in_place_attach_detach::attach_cast (const_byte_array_reference< T > &,...) noexcept |
| | Reattaches a previously detached object, beginning the lifetime of the output object, and ending the lifetime of the input array of byte. All references to the input byte array become INVALID. Any use of the input array after attachment has occurred is illegal!
|