Hello_Factory_i hello_factory_i; // Activate it to obtain the object reference
Hello::Hello_Factory_var hello_factory =
hello_factory_i._this ();//那个_this();是什么意思呀
Hello::Hello_Factory_var hello_factory =
hello_factory_i._this ();//那个_this();是什么意思呀
应该是个COM类厂的简单模拟吧.Hello_Factory_i 负责负责生成Hello型的对象.Hello中用typedef定义的类型Hello_Factory_var 应该是个Hello_Factory_i型变量的指针类型:typedef Hello_Factory_var *Hello_Factory_i ; Hello_factory_i中定义了函数_this ()用于返回this指针,它的实现应该类似于:
Hello::Hello_Factory_var Hello_Factory_i::_this() { return this ; }
Hello::Hello_Factory_var hello_factory =
hello_factory_i._this ();//那个_this();是什么意思呀
找hello_factory_i内有没有_this()的定义