C++ Templates type casting with derivates

后端 未结 4 1375
离开以前
离开以前 2021-01-18 10:10

I\'m trying to cast from one generic to another, say:

myClass anItem = myclass anotherObject;
         


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