Answers for "c++ std map initializer list"

C++
0

c++ std map initializer list

std::map <int, std::string> x { 
  { 42, "foo" }, 
  { 3, "bar" } 
};
Posted by: Guest on July-04-2021

Browse Popular Code Answers by Language