[Boost-bugs] [Boost C++ Libraries] #10751: exception_detail::set_info should use make_shared

Subject: [Boost-bugs] [Boost C++ Libraries] #10751: exception_detail::set_info should use make_shared
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-04 23:31:22


#10751: exception_detail::set_info should use make_shared
-------------------------------------+----------------------------
 Reporter: Li Yinan <li_yinan@…> | Owner: emildotchevski
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: exception
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+----------------------------
 info.hpp:170
 {{{
             shared_ptr<error_info_tag_t> p( new error_info_tag_t(v) );
 }}}
 should be
 {{{
             shared_ptr<error_info_tag_t> p =
 make_shared<error_info_tag_t>(v);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10751>
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:50:17 UTC