This is because the constructor is a function, and most declarations can be surrounded by brackets (even several):
See Why does C ++ allow us to surround a variable name in parentheses when declaring a variable? why it is allowed. This syntax was probably extended to constructors when they were defined.
ralismark
source share