map insert « map multimap « C++ Tutorial






23.6.map insert
23.6.1.Insert characters into map.
23.6.2.Use insert() to add an entry
23.6.3.Duplicate keys are not allowed in a map
23.6.4.Insert a pair using function make_pair
23.6.5.Insert a pair object directly
23.6.6.Insert using an array-like syntax for inserting key-value pairs
23.6.7.Insert key-value pairs into the map using value_type
23.6.8.use subscript operator to write value to a map
23.6.9.Insert value pair to map