मैं एक सी ++ प्रोग्राम को सी # में परिवर्तित कर रहा हूं, लेकिन इस भाग ने मुझे उलझन में डाल दिया है। वापसी क्या है * इसका मतलब है?सी ++ में 'वापसी * इस' का क्या अर्थ है?
template< EDemoCommands msgType, typename PB_OBJECT_TYPE >
class CDemoMessagePB : public IDemoMessage, public PB_OBJECT_TYPE
{
(...)
virtual ::google::protobuf::Message& GetProtoMsg() { return *this; }
}
यह सी # में अनुवाद कैसे करेगा?
टैग सी ++ होना चाहिए। –