Extracted from Pike v7.4 release 341 at 2005-11-21.
pike.ida.liu.se
[Top]
predef::

Method aggregate_multiset()


Method aggregate_multiset

multiset aggregate_multiset(mixed ... elems)

Description

Construct a multiset.

Construct a multiset with the arguments as indices. This method is most useful when constructing multisets with map or similar; generally, the multiset literal syntax is handier:

(< elem1, elem2, ... >)

See also

sizeof() , multisetp() , mkmultiset()