Template:cpp/container/map deduction guides

This deduction guide is provided for to allow deduction from an iterator range (overloads ) and std (overloads ). .

Example
{{example|code= int main { // std::{{{1}}} m1 = {{"foo", 1}, {"bar", 2}}; // Error: braced-init-list has no type; {{space as|{{{1}}}}}                               // cannot deduce pair from {{space as|{{{1}}}}}                               // {"foo", 1} or {"bar", 2}
 * 1) include

std::{{{1}}} m1 = {std::pair{"foo", 2}, {"bar", 3{{))}}; // guide #2 std::{{{1}}} m2(m1.begin, m1.end); // guide #1 } }}