Electromagnetic Template Library (EMTL)
Loading...
Searching...
No Matches
FixStorageCopyJoinInterface Class Reference

emFixStorage interface for LocalPointer. More...

#include <fix.h>

Static Public Member Functions

static emFixStoragemake_copy (const emFixStorage *original)
 creates empty emFixStorage.
 
static std::ptrdiff_t join (emFixStorage *original, const emFixStorage *copy)
 Appends copy to the end of original, conserving alignment of copy data.
 

Detailed Description

emFixStorage interface for LocalPointer.

Member Function Documentation

◆ join()

static std::ptrdiff_t FixStorageCopyJoinInterface::join ( emFixStorage original,
const emFixStorage copy 
)
inlinestatic

Appends copy to the end of original, conserving alignment of copy data.

To be precise before appending copy data it fills original to the closest size with max_alignment of emFixStorage

Returns
shift of the start of the copy data in original.

The documentation for this class was generated from the following file: