Namespaces
Variants
Views
Actions

Talk:cpp/container/unordered map/emplace

From cppreference.com

The examples are not exhaustive, the beauty of emplace is perfect forwarding, so the most important example is missing: m.emplace("d", "abcdef"); Vilarion 23:49, 14 February 2013 (PST)

Map's emplace is anything but beautiful. But yes, a demonstration of pair's versatility wouldn't hurt. --Cubbi 03:29, 15 February 2013 (PST)