Return a bdld::Datum integer‐map from the specified entries.
Synopsis
Declared in <bdld_datummaker.h>
template<typename... ENTRIES>
bdld::Datum
im(ENTRIES const&... entries) const;
Description
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.
Return Value
a Datum containing the integer‐map
Parameters
Name |
Description |
entries |
alternating integer keys and values |
Created with MrDocs