When I compile the below code, I get this error:
error: using declaration cannot refer to a constructor
How can I solve this problem