I do not know the sense of using parentheses around the declarator-id in your example but the C++ grammar allows to enclose a declarator in parentheses.
For example
void ( ( f )( int, int ) );
Here the declarator-id and the function declarator are enclosed in parentheses.