I want to design a class which can store value or reference, but with the same argument in the template declaration. I can not figure out how to write the template class. Ca