Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cpp map insert

std::map<TypeA, TypeB> my_map;	// TypeA key; TypeB value
my_map.insert({ key, value }); 	// insert elements in random order
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #cpp #map #insert
ADD COMMENT
Topic
Name
1+3 =