[Ace-users] [ace-users] ACE_Refcounted_Auto_Ptr should be improve

Johnny Willemsen jwillemsen at remedy.nl
Sun Dec 16 03:44:37 CST 2007


Hi,

When I add explicit the tests/Refcounted_Auto_Ptr.cpp doesn't compile
anymore, can you provide a patch that addresses your concerns but also
results in no compile errors.

Regards,


Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl  

*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** See http://www.theaceorb.nl/en/support.html                 ***



"HuYi" <huyi.zg at gmail.com> wrote in message
news:<a7b9f09e-7650-46d1-b60c-1fa83cb2b955 at i12g2000prf.googlegroups.com>...
> My application is based on ACE, and I don't like use too much third-
> libs.
> I found that ACE_Refcounted_Auto_Ptr not use the "explicit" keyword on
> constructor, this made my app unsafe.
> I checked the boost smart pointer libs, it use "explicit", and it's
> work ok.
> 
> Maybe I made some mistake in my application, what really cause the
> error, but I hope the complier can help me to find it. can ACE team
> fix this?
> 



More information about the Ace-users mailing list