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

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Dec 14 08:10:55 CST 2007


Hi,

>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.

To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in

$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM

or in

$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM

in older versions of ACE+TAO.  Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness.  If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.

> 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?

Please send us patches relative to the latest version in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ace/Refcounted_Auto_Ptr.h
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ace/Refcounted_Auto_Ptr.inl
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ace/Refcounted_Auto_Ptr.cpp

and an updated test that assures your patches work in

http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ace/tests/Refcounted_Auto_Ptr_Test.cpp

and we'll add this after the ACE 5.6.2 beta goes out.

Thanks,

        Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list