foo.cc: In function 'int main()':
foo.cc:7:28: error: expected '}' before ')' token
7 | int mn=min({a,b,c,d)};
| ~ ^
foo.cc:7:29: error: expected ',' or ';' before '}' token
7 | int mn=min({a,b,c,d)};
| ^
foo.cc: At global scope:
foo.cc:8:16: error: cannot resolve overloaded function 'max' based on conversion to type 'int'
8 | int mx=max{(a,b,c,d)};
| ^~~
foo.cc:10:9: error: 'cout' does not name a type
10 | cout<<mn<<endl<<mx;
| ^~~~
foo.cc:11:1: error: expected declaration before '}' token
11 | }
| ^