Did you bother to read the error message?
What parameters does the memclass constructor expect?
What parameters are you passing?
The error message tells you!