As mbozzi says, that should work fine. Although it would be better to use an initialiser list in the constructor, rather than assignments in the body of the constructor.
Why do you think you can't create a constructor? What problem are you seeing? Give us proper information, so that we can help you.