When you want to use non-static const data members and reference data members you should use initialization list to initialize them.