2017-04-10 168 views
0

我無法找到重載類型名稱時的含義。這就是我正在談論的。重載運算符類型

using type_x = uint32_t; 

//class instance variable initialized in constructor 
type_x variable; 

//later on in cpp file (this is my question) 
inline ClassX::operator type_x() const { return variable; } 

回答