guess you can run it in Ubuntu. :-) "g++ shareptrtest.cxx " works well to me.
2010/5/17 Qzi er <[email protected]> > Thank you All ! > > I am interestng in the *shareptrtest.cxx offered by *hanbo > > but the header tri , I don't have it ! > > I know that it's the new standard ! > > I'm in windows and I have a ubuntu in virtualbox ! how can compile it ? > > On Mon, May 17, 2010 at 3:22 PM, Mathias Bauer <[email protected]> > wrote: > > > On 16.05.2010 06:56, Qzi er wrote: > > > >> what's the deference between weak reference and hard reference ? > >> > >> I can't understande the wiki below ! > >> > >> > >> > http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/C%2B%2B/Using_Weak_References > >> > >> Is there other core code show what is weak distinguish hard ? > >> > > > > Any existing "hard" reference will prevent that the object will be > > destroyed. A weak reference will not do that, it just gives access to the > > object without controlling its lifetime. Instead of that it will > > "automatically" becom "empty" once the object has been destroyed as soon > as > > all "hard" references to it have been cleared or destroyed. > > > > Regards, > > Mathias > > > > -- > > Mathias Bauer (mba) - Project Lead OpenOffice.org Writer > > OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS > > Please don't reply to "[email protected]". > > I use it for the OOo lists and only rarely read other mails sent to it. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > 作智慧的减法 ... > > 体会生活的微妙的富足 ... > > 嗯 ... >
