I would not recommend this, since having direct paths in cpp is always a bit dirty. Also you would have to recompile every time you change the class. I added an answer, that is cleaner and easier to use.
I would not recommend this, since having direct paths in cpp is always a bit dirty. Also you would have to recompile every time you change the class. I added an answer, that is cleaner and easier to use.