I can understand the first row and last two rows.
However, does anyone know what the remaining part means ????(line3-line16)
especially for line3-line5


1 struct Bracket
2 {
3 Bracket(char type, int position):
4 type(type),
5 position(position)
6 {}

7 bool Matchc(char c)
8 {
9 if (type == '[' && c == ']')
10 return true;
11 if (type == '{' && c == '}')
12 return true;
13 if (type == '(' && c == ')')
14 return true;
15 return false;
16 }

17 char type;
18 int position;
19 };