BloombergLP::bdld::DatumMaker::mok

Return a bdld::Datum map with owned keys from the specified entries.

Synopsis

Declared in <bdld_datummaker.h>

template<typename... ENTRIES>
bdld::Datum
mok(ENTRIES const&... entries) const;

Description

Return a bdld::Datum object containing a map with owned keys consisting of the specified entries. The entries are supplied as pairs (odd number of sizeof...(entries) being an error) where the first specified element is the key, and the second is its corresponding value. The behavior is undefined if the same key is supplied more than once.

Return Value

a Datum containing the map

Parameters

NameDescription
entriesalternating keys and values