Map::Map Constructor

Initializes a new instance of the Map class.

explicit Map(
   const C& comp = C()
);
explicit Map(
   const StdMap& m
);
explicit Map(
   StdMap&& m
);
template <
   typename InIt
>
Map(
   InItfirst,
   InItlast,
   const C& comp = C()
);

InIt

The typename of the current Map.

comp

A type that provides a function object that can compare two element values as sort keys to determine their relative order in the Map.

m

A reference or Lvalues and Rvalues to a map Class that is used to initialize the current Map.

first

The input iterator of the first element in a range of elements used to initialize the current Map.

last

The input iterator of the first element after a range of elements used to initialize the current Map.

Header: collection.h

Namespace: Platform::Collections

Show:
© 2014 Microsoft