How to define different types for the same class in C++

前端 未结 4 1522
臣服心动
臣服心动 2020-11-28 22:51

I would like to have several types that share the same implementation but still are of different type in C++.

To illustrate my question with a simple example, I woul

4条回答
提交回复
热议问题