Initializer lists
donRumata03 opened this issue · 0 comments
donRumata03 commented
Why not to use STL-like syntax for initializing pairs of elements?
Like this:
map <int, int> example =
{
{1, 5},
{4, 7}
}
donRumata03 opened this issue · 0 comments
Why not to use STL-like syntax for initializing pairs of elements?
Like this:
map <int, int> example =
{
{1, 5},
{4, 7}
}