ocean.util.serialize.contiguous.Contiguous

Defines struct type that is guaranteed to be stored in a contiguous byte buffer including all referenced arrays / pointers.

Members

Structs

Contiguous
struct Contiguous(S)

"Tag" struct that wraps a void[] buffer with deserialized contents for the struct of type S. Intended as type-safe tool to guarantee that any operations on such structs preserve the contiguous data layout

Templates

ensureValueTypeMember
template ensureValueTypeMember(S, size_t i)

Ensures that the type of the ith member of S (i.e. S.tupleof[i]) is a value type; that is, it contains no references.

ensureValueTypeMember
template ensureValueTypeMember(S, size_t i, T)

Ensures that T, which is a the nested type of the type of the ith member of S (i.e. S.tupleof[i]), is a value type; that is, it contains no references.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).