Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2060: auto_ptr support for unit_test_log.set_formatter
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-14 07:39:02
#2060: auto_ptr support for unit_test_log.set_formatter
---------------------------+------------------------------------------------
Reporter: dlwalker | Owner: rogeeff
Type: Bugs | Status: closed
Milestone: Boost 1.36.0 | Component: test
Version: Boost 1.35.0 | Severity: Problem
Resolution: wontfix | Keywords: test formatter unit_test_log
---------------------------+------------------------------------------------
Changes (by rogeeff):
* status: new => closed
* resolution: => wontfix
Comment:
This function is similar to the scoped_ptr::reset. It might be just a bit
safer to pass auto_ptr. But I don't believe it warrants interface change.
Also I am a bit unsure I want to mix different memory management tools. I
also prefer to stay away from auto_ptr as a general rule. Maybe we can
pass scoped_ptr and move it into data member once this functionality
available.
All in all this is advanced API. One should assume person using it will
have a reason to understand what to pass.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2060#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC