BloombergLP::bdld::Datum_Helpers

Helpers for loading and storing typed values within a buffer.

Synopsis

Declared in <bdld_datum.h>

struct Datum_Helpers;

Description

This struct contains helper functions used to access typed objects within a buffer. The functions assume that objects within the buffers have proper alignment and use casts to suppress compiler warnings about possible alignment problems.

Static Member Functions

NameDescription
load Return the typed value at offset within source.
store Store value at offset within destination and return it.