Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ std map initializer list

std::map <int, std::string> x { 
  { 42, "foo" }, 
  { 3, "bar" } 
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #std #map #initializer #list
ADD COMMENT
Topic
Name
7+8 =