Return a bdld::Datum integer-map from the specified entries.
Declared in <bdld_datummaker.h>
template<typename... ENTRIES>
bdld::Datum
im(ENTRIES const&... entries) const;
Return a bdld::Datum object containing an integer-map of the specified entries. The entries are supplied in pairs (supplying an odd number will result in a compilation failure) where the first supplied argument is an integer key, and the second is its corresponding value. The behavior is undefined if the same key is supplied more than once.
a Datum containing the integer-map
| Name | Description |
|---|---|
| entries | alternating integer keys and values |